Is anybody knows how to control agent is running or stoped,when scripts completed from Dos promt,we need to be able to control if scripts finished from WINCOM.,only have Dos promt?
Please help me.
You can modify ScriptExit() to write out a file. If the file exists, it is done.
Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac.
Hell ,Tonny you mean write a function in include file that allows to create a file.?
*** Error: ScriptExit must have a single boolean parameter
If you haven't yet defined ScriptExit(), you can define a ScriptExit() function and this will be called upon exit of a script. For example:
ScriptExit (BOOLEAN bException)
and then you can put whatever code you want within the function. If you use my suggestion, You would also want to define a ScriptEnter() function to remove the file if it exists.