Re: How to UNcompress files all at once
- From: Carl Kaufmann <cwkaufmann@xxxxxxx>
- Date: Mon, 21 Aug 2006 08:50:07 -0400
Hi Guys (and other Gals),
I went to compress OLD files only on my (Media Center Edition 2005) PC and when it was done it told me that some operating system files were replaced with older versions, did I really want to do this? It asked me to insert the Windows CD, of course being a Dell PC - I didn't have an OS CD, so I finally accepted the option to accept the replacement of the files. I don't know why this error message came up!! The PC was NOT connected to the internet and only thing ON the PC is the OS! I rebooted the system & all seems ok so far.
Has anyone else ever had an error like this while compressing files?? And should I really be concerned about whatever files got replaced, if any?
Anyway, just to undo the compression, in case that had something to do with the error message, I tried all the following from a command prompt:
1.) compact /u /s:c:\windows
worked -- but only for files in main Windows directory!
2.) compact /u /s: c:\windows\*.* I got the following err message ---- C:\Windows\*.*: file name, directory name or vol label is incorrect.
This is very close, but what you really want is:
compact /u /i /s:"C:\Windows" *
/u to uncompress
/i to keep going even if a file fails to uncompress
/s to recurse subdirectories starting with C:\Windows
* to grab every file
This will also set the entire C:\Windows directory structure to not compress new items.
BTW, *.* _will not_ match every file, only files with an extension.
3.) compact /u /s: c:\windows *.* ----- Left out the backslash before *.*
worked -- but only for files in Windows directory!
4.) compact /u /s
Only worked for directory I was in!
How do I format the "compact" command to UN-compact all folders, subfolders, and files on "C" without having to do each & every directory and subdirectory individually??
I have looked up and read about the "compact" command and its' parameters but can not get it to work on anything other than 1 directory at a time.
What am I missing in using the command??? Or does it NOT work that way, which I find hard to believe?
Thanks as always!
- Prev by Date: Re: Automatic updates were unable to be sucessfullu installed
- Next by Date: Re: Crash while searching registry
- Previous by thread: Re: How to UNcompress files all at once
- Next by thread: Re: My girls