Login | |
|
 |
RE: Quirky Script - 8/7/2006 5:50:49 AM
|
|
 |
|
| |
ebgreen
Posts: 5246
Score: 31
Joined: 7/12/2005
Status: offline
|
I haven't read the script itself, but you should be aware that WScript.Echo acts like MsgBox when the script is run with WScript. So anywhere in your script that you have WScript.Echo, the script will pop open a message box on the screen.
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
 |
RE: Quirky Script - 8/8/2006 1:26:27 AM
|
|
 |
|
| |
mcds99
Posts: 441
Score: 4
Joined: 2/28/2006
Status: offline
|
Run the script in a wrapper. In a .cmd file put cscript scriptname.vbs Create a short cut that runs minimized calling the .cmd file. No more popup command prompts.
_____________________________
Sam Keep it Simple Make it Fun KiSMiF
|
|
| |
|
|
|
 |
RE: Quirky Script - 8/8/2006 4:26:50 AM
|
|
 |
|
| |
kirrilian
Posts: 628
Score: 3
Joined: 3/15/2005
From:
Status: offline
|
its much easier to just set cscript as your default script host Tue 08/08/2006 @ 12:25:14.67 | kirrilian@workstation C:\Documents and Settings\grhea.dis.000 =)cscript //H:cscript Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. The default script host is now set to "cscript.exe".
_____________________________
Have you searched here ? VBScript Fundamentals My Site
|
|
| |
|
|
|
|
|