Re: IIS & command prompt

From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 09/06/04


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.


Relevant Pages

  • Re: Processing workload distribution
    ... The Perl we're using is the 64 bit build of 5.8.8 from Activestate. ... I created a script that uses threads to launch a series of standalone ...
    (comp.lang.perl.misc)
  • Single Instance / Multithreading question
    ... I have a single instance, Windows Form application, that takes some ... A solution I found is to launch the file processing in a separate ... so that the next instance can add their files to the queue at ... If I was using a "thread.join" in the script that launches the ...
    (microsoft.public.dotnet.languages.vb)
  • Re: [opensuse] Running a program as root from desktop panel
    ... This is obviously to launch a program from my panel as I mentioned and ... I'm obviously not root so there is no need to make a script which is ... doesn't require gnome or kde and it solves my problem. ...
    (SuSE)
  • Re: Tk Script It problem
    ... highlighting and script launch. ... your script it sources a console script in the same directory. ... set bool [interp exists test_bed] ... set data ...
    (comp.lang.tcl)
  • Executing Third party applications w/vbs
    ... I'm new to VBScripting and am putting together a script to launch a third ... Dim objWShell, fsoObject, strAppPath, strRunApp ... 'Instantiate an instance of the File System Object ...
    (microsoft.public.scripting.vbscript)