|
Script Info
This example show accessing basic script information.
02 | WScript.echo "Fullname : " & WScript.Fullname |
05 | WScript.echo "Script Fullname : " & WScript.ScriptFullname |
08 | WScript.echo "Script name : " & WScript.Scriptname |
11 | WScript.echo "Version : " & WScript.Version |
|
It gives the following output,
Fullname : C:\WINDOWS\SYSTEM32\cscript.exe
Script Fullname : C:\source\VBS\shell\info.vbs
Script name : info.vbs
Version : 5.7
|
|