Click to See Complete Forum and Search --> : Running VBScript On Comand Line


Jeff Safier
July 28th, 1999, 01:02 PM
Hi

Can anyone help me I am trying to run a VB Script from the command line . Thanks



Jeffrey Safier

Lothar Haensler
July 29th, 1999, 01:54 AM
what's your problem? Do you have Windows Script Host installed?

Jeff Safier
July 29th, 1999, 10:05 AM
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

Lothar Haensler
July 29th, 1999, 10:28 AM
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.

Cimperiali
December 21st, 2001, 04:18 AM
;-)

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