1 year ago
#243082
Maxence Svensson
Can't run command line in ASP classic
I have a problem on my windows 2003 server under IIS6. I can't launch a command line with Wscript.Shell. Here is a part of my code:
Set WshShell = Server.CreateObject("wscript.shell")
WshShell.Run "cd "C:\Program Files\WinRAR" && WinRAR.exe a -afzip "D:\www\cpamodule\File\GED\UPLOADS\438\5\104192\DocZipped.zip" "D:\www\cpamodule\File\GED\UPLOADS\438\5\104192\123650.pdf"
What's wrong ?
iis
vbscript
asp-classic
iis-6
windows-server-2003
0 Answers
Your Answer