
script Works from DOS but not from VBScript/ASP
The code below calls a command file px_wb_fc.cmd .All this .cmd does is go
to the correct directory and runs .exe that converts a basic program to
c++. The caller pipes the output to a file taht is later displayed in the
browser.
It works on NT 4 , IIs 4. fails on win2000 machines.
Any one any ideas ? What has changed in IIS 5/ Shell ?
The problem is the .exe which uses tcp/ip to talk to a data dictionary fails
to load. Something to do with name spaces I think.
set shell = CreateObject("WScript.Shell")
strcmd = "%comspec% /c %phx_dev_root%\wb\px_wb_fc.cmd " & program & " "&
module & " " & driveLetter & " " & fullpath & "> " & OutFile
shell.Run strcmd, 9, True