Re: Aaagh! cScript no longer Returning! ??

isdeveloper_at_hotmail.com
Date: 03/10/05


Date: 10 Mar 2005 07:42:39 -0800

Hi Frank,

This does not make any difference. Its very odd. It seems to be XP
machines that cause this to hang. The weird thing is that it used to
work a treat, and for some reason since the begining of this year it
has never ever returned!

I was redirecting to a file in terms of
cscript.exe <cmdpath> <options> >>c:\install.txt and I thought perhaps
it was a write protected c:\ issue. so I removed that.

Here's what I am doing - this is straight from a cmd.exe prompt:
Interesting: if you look, the first time I tried it I miss-spelled the
.vbs script, and cscript did actually return OK. The next time I typed
the correct .vbs file, and it never returned;

----------
C:\>cscript.exe C:\inetpub\AdminScripts\mkwebd-ir.vbs -c localhost -w
"Default Web Site" -v "adminDir","C:\MyDir"

Microsoft (R) Windows Script Host Version 5.1 for Windows
Copyright (C) Microsoft Corporation 1996-1999. All rights reserved.

Input Error: Can not find script file
"C:\inetpub\AdminScripts\mkwebd-ir.vbs".

C:\>
C:\>cscript.exe C:\inetpub\AdminScripts\mkwebdir.vbs -c localhost -w
"Default Web Site" -v "adminDir","C:\MyDir"
Microsoft (R) Windows Script Host Version 5.1 for Windows
Copyright (C) Microsoft Corporation 1996-1999. All rights reserved.

3/10/2005 3:37:40 PM : Accessing root for IIS://localhost/W3svc/1
3/10/2005 3:37:40 PM : Done.
----------

here you see that the c:\> prompt never comes back. Have Msoft changed
their vbs files recently or for XP ???

Please Help!



Relevant Pages

  • WSH + VBScript Error
    ... When I try to run a VBS file using cscript, ... Microsoft Windows Script Host Version 5.7 ... Copyright Microsoft Corporation. ...
    (microsoft.public.scripting.vbscript)
  • Re: Running a VBS script
    ... VBS File Association Fix ... > Microsoft Windows Script Host Version 5.6 ... > Copyright Microsoft Corporation 1996-2001. ...
    (microsoft.public.windowsxp.help_and_support)
  • Sharing Violation with xcopy -after adsutil.vbs APPUNLOAD & iis st
    ... files to the web server and keep getting sharing violation. ... xcopy filename1.dll destdir ... Microsoft Windows Script Host Version 5.6 ... Copyright Microsoft Corporation 1996-2001. ...
    (microsoft.public.inetserver.iis)
  • Re: cscript sometimes fails to run JScript
    ... I have written a JScript that I execute under cscript from the Windows ... Microsoft Windows Script Host Version 5.6 ... Copyright Microsoft Corporation 1996-2001. ... CScript Error: Initialization of the Windows Script Host failed. ...
    (microsoft.public.scripting.wsh)
  • Re: adding disclaimer with visual basic SMTP transport event sink
    ... Microsoft Windows Script Host Version 5.6 ... Copyright Microsoft Corporation 1996-2001. ... Binding Display Name Specified: SMTPScriptingHost ...
    (microsoft.public.exchange.admin)