Windows scripting host

Results 1 to 2 of 2

Thread: Windows scripting host

  1. #1
    Join Date
    Dec 1969

    Default Windows scripting host

    When I try to use the wshShell.Run method on my win2k box from an ASP page, the command doesn&#039;t run. My code is something like this: <BR><BR>StrCmd = "D:TMPTry1createApp.bat " & AppName <BR>Set WshShell = Server.CreateObject("WScript.Shell") <BR>retval = WshShell.Run(StrCmd, 0, true) <BR><BR>I get retval always as 1. <BR>createApp.bat is just a batch file with Application Center 2000 command "ac application /create /name:%1" <BR><BR>If anyone has any ideas, I&#039;d greatly appreciate it. <BR>Thanks.

  2. #2
    Join Date
    Dec 1969

    Default Crosspost (eop)


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts