G
Guest
Hi all, I want to run a bat form an aspx page. The bat have to move text
files to another location, as show:
@echo off
move /Y c:\prueba\*.txt \\servidor5\conta\buzon\cirreportes\
in the aspx page I have the following code to call the bat. But it doesn't
work, the error is "File not found" Any Ideas?
sTemplate = Server.MapPath(Request.ApplicationPath) & "\Bat\RunMe.bat"
A = Shell(sTemplate, 1)
files to another location, as show:
@echo off
move /Y c:\prueba\*.txt \\servidor5\conta\buzon\cirreportes\
in the aspx page I have the following code to call the bat. But it doesn't
work, the error is "File not found" Any Ideas?
sTemplate = Server.MapPath(Request.ApplicationPath) & "\Bat\RunMe.bat"
A = Shell(sTemplate, 1)