Hi:
I read the thread started by: Wayang_Mbeling
I'm trying to do almost exactly the same thing but still can't get it to work.
I've got a bat file E:\MRDBackup\NSIS\Backup.bat.
If I double click it or run it in a DOS Prompt (cmd) it works fine.
I've checked permissions and my Web IUser definitely has permission to execute the bat. It writes a file to another directory. My IUser definitely has permission to write to that directory.
It's returning 1, which is an error but I can't track WHAT error.
Here's the code in my ASP
Code:
Set WShShell = Server.CreateObject("WScript.Shell")
RetCode = WShShell.run("E:\MRDBackup\NSIS\MRDBackup.bat", 6, true)