I will be using the script as part of the logon script. When working with the agent, the commands are run from a queue. Therefore, if you submit 5 or 6 commands, the script will continue processing, as the agent performs the commands that are in it's queue. I am trying to determine when those actions are done, so I can close the agent, without having to use sleep statements (which would potentially be different for speed of computer and connection type). The VB Script does what it is supposed to, the KIX script doesn't. I don't know if it's the code or KIX.
_________________________
Mike