Running CScript in an aspx application

From: Ray Johnson (rayj@keen.com)
Date: 05/13/02


From: "Ray Johnson" <rayj@keen.com>
Date: Mon, 13 May 2002 11:58:50 -0700


Using the process method I'm trying to run a CScript
command (via a batch command). All the batch stuff works
great but the CScript command gives the following error:

CScript Error: Loading your settings failed. (Access is
denied.
)

I imagine that is because the MACHINENAME\ASPNET user does
not have the right permissions to run CScript. However, I
have no idea how to set it so it does. Anyone have a clue?

Ray



Relevant Pages

  • Re: Need WMI script
    ... However, if you use the cscript host, ... you can use a command similar to below at a command prompt: ... Microsoft MVP Scripting and ADSI ...
    (microsoft.public.windows.server.scripting)
  • Re: Registry Value Export into DOS Prompt
    ... Paste the VBScript code into a text file with *.vbs extension. ... Example.vbs, the command could be: ... cscript Example.vbs ...
    (microsoft.public.scripting.vbscript)
  • Re: Command line input to CScript/WScript?
    ... > command to my script. ... > Now there's a way to do this which involves having CSCript ... I wish to do this without having a .vbs file on disc. ...
    (microsoft.public.scripting.vbscript)
  • Re: Run VBS on a Remote?
    ... Domain Administrator account, then execute the command ... cscript //nologo C:\WorkingDirectory\FileName.vbs ...
    (microsoft.public.windowsxp.general)
  • cscript not getting parameters passed to it via shell run
    ... I have a command line I am passing to CScript via a WScript.Shell Run ... I know it looks sort of strange there with the stdin and the argument ... var Folder = FSO.GetFolder; ...
    (microsoft.public.scripting.wsh)