Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Update multiple ZIP files

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,59968
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Update multiple ZIP files
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Update multiple ZIP files - 5/7/2008 10:49:05 PM   
  julian16

 

Posts: 2
Score: 0
Joined: 5/7/2008
Status: offline
Hi!!

I need a script for update multiple zip files.... I want to add file to all zip files on a dir.

Dim shell, shellExec, Dir, includeFile, temp
Dir = "c:\zips\*.zip"
IncludeFile = "c:\spot.html"

How can i do????

Thank you!!!
 
 
Post #: 1
 
 RE: Update multiple ZIP files - 5/8/2008 12:01:06 AM   
  ebgreen


Posts: 4408
Score: 29
Joined: 7/12/2005
Status: offline
First search the forum. There have been a few threads about zipping files. Let us know what you try and what problems you have.

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to julian16)
 
 
Post #: 2
 
 RE: Update multiple ZIP files - 5/8/2008 12:05:24 AM   
  julian16

 

Posts: 2
Score: 0
Joined: 5/7/2008
Status: offline
I do not find anything . I dont want zip a simple file. I want update multiple zip files.

Thanks!

(in reply to julian16)
 
 
Post #: 3
 
 RE: Update multiple ZIP files - 5/8/2008 12:10:41 AM   
  ebgreen


Posts: 4408
Score: 29
Joined: 7/12/2005
Status: offline
This thread (which I found by simply searching for zip) discusses adding a file to a zip:

http://www.visualbasicscript.com/m_58966/mpage_1/key_zip/tm.htm#58966


Read it. Understand it. Then you will know how to add the file to one zip. To add the file to a bunch of zips, search for these terms and understand those discussions:

FileSystemObject
.Files
GetFolder

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to julian16)
 
 
Post #: 4
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Update multiple ZIP files Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts