Re: IIS & command prompt
From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 09/06/04
- Next message: David Wang [Msft]: "Re: Server object error 'ASP 0177 : 800401f3'"
- Previous message: David Wang [Msft]: "Re: IIS 5.0 + ASP slowdown"
- In reply to: Taghreed: "IIS & command prompt"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 6 Sep 2004 13:41:51 -0700
This is easy to fix. On the commandline, run:
CSCRIPT //h:cscript //NoLogo //s
This is because by default, Scripts are configured to launch from an UI, so
it favors a more interactive/Windows-like script execution experience using
wscript.exe.
For automation purposes, the UI popups are useless, so you need to configure
Scripts to launch with an unattend/command-prompt-like script execution
experience using cscript.exe
Scripts are flexible. You can select the script execution style at runtime
to obtain different behavior -- so you can launch a script from an UI and
have its output in a console, or you can launch a script from a console
window and have its output in a MsgBox.
For scripts launched with console output, you can use standard console
redirection to store its output in a filename of your choosing.
-- //David IIS This posting is provided "AS IS" with no warranties, and confers no rights. // "Taghreed" <tssamak@gmail.com> wrote in message news:4100369b.0409060805.53cb1a75@posting.google.com... Hi all, I tried the commands at "Inetpub\AdminScripts" for IIS administration, they worked just fine. The problem is, all the output comes in msgBox. Is there a way to have the output in file or viewed at the command output?? Thanks, Taghreed.
- Next message: David Wang [Msft]: "Re: Server object error 'ASP 0177 : 800401f3'"
- Previous message: David Wang [Msft]: "Re: IIS 5.0 + ASP slowdown"
- In reply to: Taghreed: "IIS & command prompt"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|