Mark,To run a .bat or .cmd file just prior to I-DEAS startup, you can modify the I-DEAS starup icon. Right click on the I-DEAS startup icon, select the Shortcut tab, and edit the "Target" field to run your file instead of the standard ideas.exe.
I replaced the following default text:C:\WINDOWS\system32\wscript.exe /nologo "C:\UGS\NXI5\bin\IDEAS.wsf" /prg:"C:\UGS\NXI5\ideas\ideas.exe"
with my own text:C:\WINDOWS\system32\wscript.exe /nologo "C:\UGS\NXI5\bin\IDEAS.wsf" /prg:"M:\ideas\windows\batch\start_NXI5_ideas.bat"
Then execute the regular ideas.exe end of your .bat file. REM: Start I-DEAS. C:\UGS\NXI5\ideas\ideas.exeI wrote a short .bat file to do some simple tasks prior to I-DEAS startup, for our site.
Todd Landin, Mark wrote:
Have you guys written your own I-DEAS launch commands? I need to set up some environment variables (like IDEAS_PARAM14 sicne I have mutliple TDMs right now, possibly append some titleblock template configs to masterdrafting.cfg, set the user's current directory based on username, etc). I can write a .cmd file to do all that stuff and then call the ideas.wsf, but was wondering if there was something more elegant (the users would probably like to have their I-DEAS command file use a different, prettier icon, for instance). What are you guys doing? This message and any attachments may be a confidential attorney-client communication or otherwise be privileged and confidential. If you are not the intended recipient, any review, distribution or copying of this transmittal is prohibited. If you have received this transmittal in error, please reply by e-mail and delete this message and all attachments