Steve,
I have a batch file that I've used to compress files of a certain age.
The important part of the batch is...
FORFILES -p%strDir% -s -d-%numAge% -c"CMD /C IF @ISDIR==FALSE COMPACT /C ""@PATH\@FILE"""
This uses the forfiles command (this was part of the resource kit or support tools, I think) to find files older than a certain age and compress them using the compact command.
You may be able to doctor up the forfiles parameters and change the /c to a /u to get what you want or maybe you could just run a 'compact /u /s' from the root.
Tony
"Steve Snyder" <kwajalein@gmail.com> Sent by: thin-bounce@freelists.org 10/21/2008 09:43 PM
|
|
wondering if anyone has a nice seek-&-destory script for uncompressing files/folders compressed by windows. Yes, you *should* be able to clear the compress flag at the roof of the folder, select all files and folders when prompted and let windows do it all. Too bad it didn't work.
thanks.
btw, I'm not a vmware expert but setting up virtuals with 9GB C: drives that are entirely compressed seems to have some minor performance impacts...
CONFIDENTIALITY NOTICE: This message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
No comments:
Post a Comment