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 - WScript.Echo

Reply
 
Old 05-26-2008   #1 (permalink)
PaulM


 
 

WScript.Echo

If I use WScript.Echo "Working"

The script will not run until the user click the OK button. Any way around
this?



My System SpecsSystem Spec
Old 05-27-2008   #2 (permalink)
Al Dunbar


 
 

Re: WScript.Echo


"PaulM" <paul@xxxxxx> wrote in message
news:eAigQ46vIHA.5520@xxxxxx
Quote:

> If I use WScript.Echo "Working"
>
> The script will not run until the user click the OK button. Any way
> around this?
start your script using cscript.ex instead of the default wscript.exe, i.e.:

cscript.exe //nologo your.vbs

this will launch it in a console window, where wscript.echo is roughly
equivalent in functionality to the batch "echo" command.

Alternately, a .popup method is available that accepts a timeout parameter:

http://www.pctools.com/guides/script...?act=reference


/Al


My System SpecsSystem Spec
Old 07-18-2008   #3 (permalink)
Bishop


 
 

RE: WScript.Echo

try this Sample ( "MessageBox" with timeout )

http://www.scriptbox.at.tt/index.php...%20timeout.vbs


"PaulM" wrote:
Quote:

> If I use WScript.Echo "Working"
>
> The script will not run until the user click the OK button. Any way around
> this?
>
>
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
WScript.dll not working VB Script
wscript.echo only a new line / embed a "CR" in a text string ? VB Script
WScript.Shell echo command? VB Script
How to save output of echo to a file or omit using echo and save it VB Script
HTA and Wscript.Sleep VB Script


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