NetSetMan Support
You are not logged in.
- Topics: Active | Unanswered
Pages: 1
#1 2009-03-24 06:12
- Jim
- Member
- Registered: 2009-03-24
- Posts: 1
Script terminating too early
I have a script to run after activation. I terminates without warning. The script is simple:
PAUSE
The script should wait for keyboard input.
I never see command complete consistently. It's like the command window is interrupted and terminated.
How do I make it complete commands? The Wait option in the script dialog doesn't do anything either.
Thanks,
.. jim..
Offline
#2 2009-03-24 14:08
- NetSetMan Support
- Administrator
- Registered: 2005-08-06
- Posts: 1,878
Re: Script terminating too early
After executing the script, NSM isn't bound at the script. So even if you write PAUSE in the script and the script waits for you, NSM won't wait. Think of it like NSM is double-clicking on that script file for you.
However using the wait-field below the script text field will make NSM waiting. If you select the After tab, then choose or write a bat-script wit the line PAUSE and then enter a value like "10" in the small box at the bottom, click OK and then activate this profile, then NSM will perform all tasks of that profile and at the point of the script will wait for 10sec (displaying this also in the Activation window) and then execute the script.
Offline
Pages: 1