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