As AutoCAD user I often use scripts in order to open and process many files.

All commands are put in a script file and then it runs all the commands in the script.

For projectwise there is integration with AutoCAD when DMSOPEN is used instead of OPEN.

But everytime I run the script a dialog window for selection file in PW is opened.

I think the format of the file path is wrong.

What is the correct path format?

Anybody has a Working script for inserting reference files in masterfiles for example?