Hi
Can anyone help me I am trying to run a VB Script from the command line . Thanks
Jeffrey Safier
Printable View
Hi
Can anyone help me I am trying to run a VB Script from the command line . Thanks
Jeffrey Safier
what's your problem? Do you have Windows Script Host installed?
I really dont know, what is it under, Would it be on the Visual studio disk, how could i get it, and once i have it is there a way to run off a command line
Jeffrey Safier
in order to run VBScripts from the command line you need windows script host AFAIK.
You can download it from the MS site (AFAIK there is a Beta 2 of the new release out there).
It is also part of NT option pack 4.
To start your VBScript files run CScript.exe (for console apps) or WScript.exe (for windows...).
If WSH is installed .VBS and .JS files should already be associated with WScript.exe.
;-)
Merry ChristMas and a Happy New Year
Cesare
Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, TCartwright, Bruno Paris, Dr_Michael
and all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
The Rater