Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: how to execute pkzip


Message #1 by "Paulo Roberto Campos de Morais Lobo" <prlobo@i...> on Thu, 18 Jan 2001 11:19:59 est
Hello, folks!!



   I need your help again... 



   Does anybody know how can I execute pkzip from an ASP page?.. 



Thank you very much.



[[ ]]'S

paulo

Message #2 by "Michiel van Otegem" <michiel@a...> on Thu, 18 Jan 2001 15:04:39 +0100
Use ASPExec from www.serverobjects.com (free) and run it from the command

line.



/Michiel van Otegem

Listmaster www.aspnl.com/aspnl/mailinglists





----- Original Message -----

From: "Paulo Roberto Campos de Morais Lobo" <prlobo@i...>

To: "ASP Web HowTo" <asp_web_howto@p...>

Sent: Thursday, January 18, 2001 10:45 PM

Subject: [asp_web_howto] how to execute pkzip





> Hello, folks!!

>

>    I need your help again...

>

>    Does anybody know how can I execute pkzip from an ASP page?..

>

> Thank you very much.

>

> [[ ]]'S

> paulo

>

Message #3 by "TomMallard" <mallard@s...> on Thu, 18 Jan 2001 06:59:09 -0800
Easiest way is to create a wsh object and use run. Pkzip can be run from the

command line this way. You pass the folder and file information as arguments

to the run command.



set sWSH = server.createobject("WScript.Shell")

sWSH.Run pkzip -b d:\webshare\temp -r zipfilename.zip ...files...

set sWSH = nothing



Any or all of this can be dynamic data...the arguments can be dealt with as

a collection instead of explicitly like this sample.



tom mallard

seattle

----- Original Message -----

From: "Paulo Roberto Campos de Morais Lobo" <prlobo@i...>

To: "ASP Web HowTo" <asp_web_howto@p...>

Sent: Thursday, January 18, 2001 1:45 PM

Subject: [asp_web_howto] how to execute pkzip





| Hello, folks!!

|

|    I need your help again...

|

|    Does anybody know how can I execute pkzip from an ASP page?..

|

| Thank you very much.

|

| [[ ]]'S

| paulo

|


  Return to Index