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

发表于:2007-06-30来源:作者:点击数: 标签:
...(不要去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

原文转自:http://www.ltesting.net