WinZip/Other Alternative?

J

James Baker

I'm using ASP and I need to generate a ZIP file that contains a list of
files that I'm pulling from a database. I've determined WinZip's command
line parameters so that I can use it, the problem is I'm unsure how to run
WinZip on the server.

Set WshShell = Server.CreateObject("WScript.Shell")

WshShell.Run("c:\winzip.exe")

Assuming this would work, how do I get the process to terminate upon
completion? I can't have 20-30 WinZip applications running on the server, I
need it to handle what I send to it and then close. Maybe I'm taking the
entirely wrong approach here. Any help would be appreciated.

James
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,818
Latest member
Brigette36

Latest Threads

Top