PC Review


Reply
Thread Tools Rate Thread

Compressing Files

 
 
Chris White
Guest
Posts: n/a
 
      29th Sep 2003
Does anyone know of way to compress files in a folder
using vbs commands or whs? Any suggestions would be useful.
 
Reply With Quote
 
 
 
 
Mark V
Guest
Posts: n/a
 
      29th Sep 2003
Chris White wrote in news:080301c386ab$ebd39ef0$(E-Mail Removed):

> Does anyone know of way to compress files in a folder
> using vbs commands or whs? Any suggestions would be useful.
>


No, but what do you mean "compress"?. As in ZIP or other archiver or
as in NTFS filesystem compression. (eg compact /?)
 
Reply With Quote
 
Matthias Tacke
Guest
Posts: n/a
 
      29th Sep 2003
"Chris White" <(E-Mail Removed)> schrieb
> What I need to do is take the 24 files from each day and
> compress them into one file. Almost like zipping them
> making them one big file. I was trying to think if you
> could use the windows zipping mechanism, but don't know
> the shell or dos command to do that. Hopefully this
> better explain things.


It's still not clear what your aim is:

- concatening "the?" 24 files into one (can be done with copy)

- archiving with a packer like pkzip/winzip/rar/arj/7zip etc.

- using the NT/W2k/XP builtin feature of compressing files & folders
for ntfs partions.

The op gave you a hint with "compact /?" meaning you should execute
this at a cmd-prompt. This is also valid for "copy /?" or "pkzip /?"

All of this could be used in a batchfile to automate this.

vbscript and wsh are a bit off topic in this ng, look for another
newsgroup to ask for.

hth
Matthias


 
Reply With Quote
 
Torgeir Bakken (MVP)
Guest
Posts: n/a
 
      29th Sep 2003
Chris White wrote:

> Does anyone know of way to compress files in a folder
> using vbs commands or whs? Any suggestions would be useful.


Hi

ZIP file (command line or component):
http://groups.google.com/groups?selm...1A%40hydro.com


CAB file (command line or component):
http://groups.google.com/groups?selm...69%40hydro.com


--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compressing Files =?Utf-8?B?QXNoZzY1Nw==?= Microsoft Access VBA Modules 1 17th Nov 2005 03:52 PM
De-compressing old files =?Utf-8?B?Ym9yaXMgdGhlIGJsYWRl?= Windows XP Performance 1 10th Oct 2005 12:02 AM
Compressing AVI Files =?Utf-8?B?TnVtcHR5?= Windows XP MovieMaker 5 23rd Mar 2004 04:50 AM
Compressing Files Melanie Windows XP General 4 25th Oct 2003 04:25 PM
Compressing files Windows XP Video 0 25th Oct 2003 08:04 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:39 PM.