Hi:
Can I execute command lines from w/in ASP?
I tried this and it just locks up the browser.
In fact everything I tried either returned an integer, 1 into RetCode or just locked up the browser permanently:
Can I find out what error the integer represents?
Code:
Set WShShell = Server.CreateObject("WScript.Shell")
RetCode = WShShell.run("cmd cd c:\MRDBackup", ,False)
If RetCode = 0 Then
sErr = "Install Created"
Else
sErr = "ERROR: Install Not Created: " & RetCode
End If