variables in Run Program>

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
rullbandspelare
Pro Scripter
Posts: 149
Joined: Tue Mar 23, 2004 9:11 pm

variables in Run Program>

Post by rullbandspelare » Fri Dec 09, 2005 8:22 am

Hi!
I cant get a variable to work as a variable in the Run Program> function.

The message> part is OK. It gives me 20051209.dump
But the Run Program gives me: file %id%.dump does not exist. If i remove %% i get id.dump does not exist from the qwerty.exe program.

message>%id%.dump
Run Program>C:\qwerty.exe %id%.dump %id%.out


Why?

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 » Fri Dec 09, 2005 8:25 am

Try this:

Let>CmdLine=C:\qwerty.exe %id%.dump %id%.out
Run Program>CmdLine
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