tl  tr
  Home | Tutorials | Articles | Videos | Products | Tools | Search
Interviews | Open Source | Tag Cloud | Follow Us | Bookmark | Contact   
 VB Script > Shell > Script Info

Script Info 

This example show accessing basic script information.

File Name  :  
source/VBS/shell/info.vbs 
Author  :  Sudhakar KV
Email  :  kvenkatasudhakar@gmail.com
01'The script host file name
02WScript.echo "Fullname : " & WScript.Fullname
03 
04'The script full name
05WScript.echo "Script Fullname : " & WScript.ScriptFullname
06 
07'The script name
08WScript.echo "Script name : " & WScript.Scriptname
09 
10'Version of scripting host
11WScript.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



 
  


  
bl  br