Startup an associated shortcut w/executable file name

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
wilfredtr
Newbie
Posts: 16
Joined: Thu Aug 14, 2003 3:59 pm
Contact:

Startup an associated shortcut w/executable file name

Post by wilfredtr » Wed Dec 17, 2003 11:46 pm

I have a program that a shortcut points to an emulator C:\Program Files\Reflection\Help\CU.r2w - that is not a .bat or exe or com file. How can I get it to start up automaticly from a timed macro? It is assocaited with the .exe file r2win.exe. If I start r2win.exe it only starts the emulator without starting the connection to the mainframe. Help please -wilfred

User avatar
Captive
Macro Veteran
Posts: 213
Joined: Sun Oct 20, 2002 8:37 pm
Location: Colorado, USA

Post by Captive » Thu Dec 18, 2003 4:36 am

Check out the 'ExecuteFile>" command. It launches a file with it's associated application.If the file doesn't have the application associated, you should be able to do something like:Run Program>"c:\path\to\r2win.exe" C:\Program Files\Reflection\Help\CU.r2w

wilfredtr
Newbie
Posts: 16
Joined: Thu Aug 14, 2003 3:59 pm
Contact:

Post by wilfredtr » Thu Dec 18, 2003 8:48 pm

Thank you very much! That's a headslapper - didn't even see the ExecuteFile keyword! -Wilfred

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