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