PDA

View Full Version : Batch File Compression


Dennis Warner
February 23rd 04, 05:01 AM
I need to periodically compress thousands of data files.
Is there any way I can do this with a single command;
preferably something that can be invoked by the task
scheduler? Is there a dos command for such?

Thanks

Rob Elder, MVP-Networking
February 23rd 04, 10:21 AM
Try the COMPACT command.

"Dennis Warner" > wrote in message
...
> I need to periodically compress thousands of data files.
> Is there any way I can do this with a single command;
> preferably something that can be invoked by the task
> scheduler? Is there a dos command for such?
>
> Thanks

David Candy
March 9th 04, 04:41 AM
You dom't say how you intend to compress them. Therefore all I can say =
is look at the nitty-gritty detail of the For command.

for %A in (*.*) do pkzip <whatever the parameters are> %A

Note %A in a command line or %%A in a batch file. The A part IS case =
sensitive (rare in MS operating systems).=20
--=20
----------------------------------------------------------
http://www.g2mil.com/Dec2003.htm
"Dennis Warner" > wrote in message =
...
> I need to periodically compress thousands of data files. =20
> Is there any way I can do this with a single command; =20
> preferably something that can be invoked by the task=20
> scheduler? Is there a dos command for such?
>=20
> Thanks

JW
July 27th 04, 05:44 PM
If the person you are sending it to has XP, then you can use Windows
Messenger to send the file. There's no need to compress it, and there is no
file size limit with Windows Messenger.

> wrote in message
...
Hello,

I am trying to use the compression file feature built
into WIN XP Pro...when I send a large file to a
compressed folder it does not shrink much in size. I am
trying to take a large file and compress it so I can
easily send it via an e-mail.

Also trying to figure out a way to break down a large
attachment send IT via outlook 2003 and reassemble it on
the other end.

WOULD APPRECIATE ANY FEEDBACK

Google