asp调用批处理执行
这样写有什么问题吗?为什么执行后没有任何反应?
Set WSH = Server.CreateObject("WScript.Shell")
'建立一个wscript.shell对象
RTL = WSH.Run("cmd.exe /c copy D:\\bjcgmapweb\\bjcgmap\\public\\bookpic\\20116291861345041.JPG d:\\bookpic",1,True)
if RTL=0 then
response.write "OK"
else
BuildSmallPic = "Error_bat"
end if