|
VBSCRIPT Files |
VBSCRIPT files should normally be run via the Windows "cscript.exe" interpreter. You would normally include at least the "//NoLogo" switch.
For a good introduction to VBSCRIPT have a look at
"http://www.tutorialspoint.com/vbscript/".
Compared to batch files VBSCRIPT has a much higher "native" ability to do things but you will probably still need to make external calls to Windows commands and often also other useful programs.
If you double click on a VBSCRIPT file in "explorer" then it will be opened up in "wscript.exe" which is normally useless for command line work and each "ECHO" command will result in a popup which gets annoying fast.
Because of multiple Windows design flaws you can't simply execute vbscript like any other executable, you will need to:
You can work around this by defining your own vbscript file extension and registering this to Windows. This would allow you to execute these scripts like any other command, no need to provide the extension and the "PATH" would be searched.
$todo: VBSCRIPT stuff...
Example code & Fragments |
Please see these fragments and examples:
![]() ![]() |
| ![]() ![]() |