Execute a variable
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
You need to write the commands and THEN include the temp file. If you write a command, then include it, then write another, then include it, you will run the file twice, so the second time the first line again gets executed.
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?
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
I think we need to see your full script to have any idea of what is happening.
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?
Use Macro> instead of >Include
The Repeat> statement is missing from the post. If the Include> statement is within the Repeat/Until block additional code will be included in your main script.
Have you tried using the Macro> command instead of Include> to execute the command? This way you will only execute the current cmd and the main script will not keep growing.
Have you tried using the Macro> command instead of Include> to execute the command? This way you will only execute the current cmd and the main script will not keep growing.