Hi,
I would like to have two icons on my desktop - both should fire up AutoCAD. But before AutoCAD starts up a file needs to be copied into a folder (depending which icon I click a different file gets copied).
I'm just wondering how I could get that done - can somehone point me in the right direction?
I could create two scripts (and desktop shortcuts)- each script copies a specific file first before executing AC exe.
But the standard Windows shortcut contains a "start in" property I'm not sure how to deal with. In my AC map shortcut it points to:
"C:\Program Files\Autodesk\AutoCAD Map 3D 2013\UserDataCache\"
Do I need to take it into account? If so - how?
Or are there any other approaches?
Many thank, Rob
Solved! Go to Solution.
Solved by Alfred.NESWADBA. Go to Solution.
Hi,
yep, script would be what you are looking for.
And to start AutoCAD from a specific folder use that lines in your script:
rem your copy action copy <from_file> <to_file> rem change active drive to drive C C: rem change the working folder CD "\Program Files\Autodesk\AutoCAD Map 3D 2013\UserDataCache\" rem start acad.exe with profile, workspace, other parameter "C:\Program Files\Autodesk\AutoCAD Map 3D 2013\acad.exe" /product MAP /language "en-US"
HTH, - alfred -