Compressing Files

  • Thread starter Thread starter Chris White
  • Start date Start date
C

Chris White

Does anyone know of way to compress files in a folder
using vbs commands or whs? Any suggestions would be useful.
 
Chris White wrote in
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 /?)
 
Chris White said:
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
 
Back
Top