This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dim objWScript : Set objWScript = CreateObject("WScript.Shell") | |
Dim blnConsole : blnConsole = False | |
Dim dtmStartedAt : dtmStartedAt = Now() | |
If InStr(1, WScript.FullName, "cscript", vbTextCompare) Then | |
blnConsole = True | |
End If |