I am trying to write a script that will run a shortcut that I have on my desktop. The shortcut points to a folder on another computer that has been mapped as a drive. The shortcut also uses the start in option.
The shortcut looks like this:
W:\program.exe /f: (W is the mapped drive)
The Start in is:
W:\
I guess my first question is how do I set the start in folder for this script? My second question would be do I need to do anything extra to make sure the switch (or switchs) at the end of the program are addressed.
Thanks
Running a shortcut
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Try this:
Code: Select all
Change Directory>w:\
Run Program>w:\program.exe /f:
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?