在ASP中执行Server端命令行的方法...

80酷酷网    80kuku.com

  server|命令行|执行...(不要去HACK哦!)

Set WShShell = Server.CreateObject("WScript.Shell")
RetCode = WShShell.Run("X:\Blahblah", 1, True)
if RetCode = 0 Then
    'There were no errors
else
    Response.Redirect "Errors.htm"
end if













分享到
  • 微信分享
  • 新浪微博
  • QQ好友
  • QQ空间
点击: