Batch Scripting - Controlling the Command Window
Posted on 2006-11-17
Ok I have an interesting one here.
I have created a vbscript that runs as part of a hardware migration that collects data upon logon. Since our environment is pretty locked down, I am not allowed to alter the logon script. I am allowed, however to piggy-back my script off of a call to a CMD file in the logon script. My problem lies in the fact that users (not all of them) are closing the window because it takes a few minutes to collect the data.
I can hide or lock down everything else, but not this call from the logon script.
Is there a way to either hide this window or even better, lock it down so it cannot be closed WITHOUT altering the actual call from the logon script?