Running a shortcut

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
dhenss
Newbie
Posts: 1
Joined: Wed Sep 20, 2006 3:18 pm

Running a shortcut

Post by dhenss » Wed Sep 20, 2006 3:35 pm

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

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Sep 20, 2006 3:57 pm

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?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts