brianrandy
asked on
generate zip using wshell
Trying to generate a zip file using wscript.shell with winzip
I keep getting errors, either "WshShell.Exec Error '80070005' Access is denied. " or "WshShell.Exec error '8007007b' The filename, directory name, or volume label syntax is incorrect. "
Here is my code:
<%@ language=javascript %>
<%
var Shell = Server.CreateObject("WScri pt.Shell") ;
var String= "H:\Inetpub\wwwroot\MAINTE MP\wzzip - a H:\Inetp ub\wwwroot \MAINTEMP\ test.zip H:\Inetpub\wwwroot\MAINTEM P\test.htm l";
Shell.Exec(String);
%>
I believe that winzip is setup correctly. I can run the string from the command line. I will award more points if neccessary.
Thanks.
I keep getting errors, either "WshShell.Exec Error '80070005' Access is denied. " or "WshShell.Exec error '8007007b' The filename, directory name, or volume label syntax is incorrect. "
Here is my code:
<%@ language=javascript %>
<%
var Shell = Server.CreateObject("WScri
var String= "H:\Inetpub\wwwroot\MAINTE
Shell.Exec(String);
%>
I believe that winzip is setup correctly. I can run the string from the command line. I will award more points if neccessary.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.