The Alpine Cow
12th Mar 2012, 10:55 am
Hi
Two problems:
1.
Trying to create a button using the start command but running into trouble with the syntax. I have added a file search path in a CAD folder (for instance c:\...\CAD), but want AutoCAD to open a file in a folder within the CAD folder (for instance c:\...\CAD\manuals\CAD-manual.docx), without using the full file address. This because i may want to move the CAD-folder in the future, and want to avoid having to change all my customized button macros. I have tried start manuals\CAD-manual.docx and all kinds of variants with \ and / and " and "" and so on, but cant make it work...AutoCAD cant find my file.
Using full address opens the file, but cant make it work without full address. Now im out of ideas. Can anyone help me?
2.
Im having trouble opening files that are in folders with two or more names (for instance c:\...\CAD\CADmanuals\). I found a turtorial on the web that encouraged me to try start "c:\...\CAD\CAD manuals\file.docx", but the file wont open. What happens if i use " is that the command prompt window opens, and nothing happens. Without the ", AutoCAD tries to open c:\...\CAD\CAD and that doesnt work.
Avoiding two name folders and using full address opens the file, but i cant make it work with two name folder. Again im out of ideas. Can anyone help me?
Regards
A macro newbie
Two problems:
1.
Trying to create a button using the start command but running into trouble with the syntax. I have added a file search path in a CAD folder (for instance c:\...\CAD), but want AutoCAD to open a file in a folder within the CAD folder (for instance c:\...\CAD\manuals\CAD-manual.docx), without using the full file address. This because i may want to move the CAD-folder in the future, and want to avoid having to change all my customized button macros. I have tried start manuals\CAD-manual.docx and all kinds of variants with \ and / and " and "" and so on, but cant make it work...AutoCAD cant find my file.
Using full address opens the file, but cant make it work without full address. Now im out of ideas. Can anyone help me?
2.
Im having trouble opening files that are in folders with two or more names (for instance c:\...\CAD\CADmanuals\). I found a turtorial on the web that encouraged me to try start "c:\...\CAD\CAD manuals\file.docx", but the file wont open. What happens if i use " is that the command prompt window opens, and nothing happens. Without the ", AutoCAD tries to open c:\...\CAD\CAD and that doesnt work.
Avoiding two name folders and using full address opens the file, but i cant make it work with two name folder. Again im out of ideas. Can anyone help me?
Regards
A macro newbie