Hi I'm trying to execute a .bat file on the server and have tried everything but the thing will not run. I have tried...
dim proc as new Process()
proc.StartInfo.FileName = Server.MapPath( "..\FormTemplates\test2.bat" )
proc.Start()
proc.Kill()
and I have tried
Dim dblRet as Double
dblRet = shell ("C:\c2k\nma\portalvb\FormTemplates\test2.bat" )
neither work...I get no error messages and the page loads and refreshes just fine...cept the .bat file will not execute...any ideas please!!!!
SWIV
dim proc as new Process()
proc.StartInfo.FileName = Server.MapPath( "..\FormTemplates\test2.bat" )
proc.Start()
proc.Kill()
and I have tried
Dim dblRet as Double
dblRet = shell ("C:\c2k\nma\portalvb\FormTemplates\test2.bat" )
neither work...I get no error messages and the page loads and refreshes just fine...cept the .bat file will not execute...any ideas please!!!!
SWIV