Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - What is the executable associated with running VBScripts?

Reply
 
Old 10-07-2008   #1 (permalink)
gimme_this_gimme_that


 
 

What is the executable associated with running VBScripts?

I'd like to run VBScripts from the cygwin command line.

Executing the scipts from the cygwin command line fails out right.

But running the script would work fine if I knew what executable to
evoke to run a VBScript.

What is it?

Thanks.

My System SpecsSystem Spec
Old 10-07-2008   #2 (permalink)
Pegasus \(MVP\)


 
 

Re: What is the executable associated with running VBScripts?


<gimme_this_gimme_that@xxxxxx> wrote in message
news:4f573117-b0b1-4e12-b6ee-6fa0a545458e@xxxxxx
Quote:

> I'd like to run VBScripts from the cygwin command line.
>
> Executing the scipts from the cygwin command line fails out right.
>
> But running the script would work fine if I knew what executable to
> evoke to run a VBScript.
>
> What is it?
>
> Thanks.
You could look it up in the association registered for .vbs files. It's
wscript.exe or cscript.exe.


My System SpecsSystem Spec
Old 10-07-2008   #3 (permalink)
Richard Mueller [MVP]


 
 

Re: What is the executable associated with running VBScripts?


"Pegasus (MVP)" <I.can@xxxxxx> wrote in message
news:ua3O9gMKJHA.5232@xxxxxx
Quote:

>
> <gimme_this_gimme_that@xxxxxx> wrote in message
> news:4f573117-b0b1-4e12-b6ee-6fa0a545458e@xxxxxx
Quote:

>> I'd like to run VBScripts from the cygwin command line.
>>
>> Executing the scipts from the cygwin command line fails out right.
>>
>> But running the script would work fine if I knew what executable to
>> evoke to run a VBScript.
>>
>> What is it?
>>
>> Thanks.
>
> You could look it up in the association registered for .vbs files. It's
> wscript.exe or cscript.exe.
>
The Wscript host executes VBScripts in a GUI environment. The Cscript host
executes scripts in a console or command line environment. You can pass the
name of the VBScript program (with *.vbs extension) as a parameter to
either.

--
Richard Mueller
MVP Directory Services
Hilltop Lab - http://www.rlmueller.net
--


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Running an executable within a VBscript VB Script
Running executable from Power Point Vista General
Running an executable - how? PowerShell
VBScripts in Vista Vista General
running an executable PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46