Consider the situation of a VBScript (Windows XP) that is scheduled to run at logoff and at startup.
How can you programmatically determine within a VBScript that the PC is in the process of (A) a logoff/shutdown or (B) a startup operation? In other words, how can a script identify the condition or state (logoff, shutdown, startup) under which it has been invoked?
Thank you for your assistance.
How can you programmatically determine within a VBScript that the PC is in the process of (A) a logoff/shutdown or (B) a startup operation? In other words, how can a script identify the condition or state (logoff, shutdown, startup) under which it has been invoked?
Thank you for your assistance.