Page 1 of 3 123 LastLast
Results 1 to 15 of 37
  1. #1
    Silver Lounger Bruce K's Avatar
    Join Date
    Apr 2002
    Location
    Phoenix, Arizona, USA
    Posts
    1,876
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Compression (XPP)

    Two issues here:

    I have "Compress drive to save disk space" unchecked in the local drive properties, yet when I do a disk clean up, it compresses all of my old files. Why is it compressing when it is not directed to do so & how might I prevent this?

    Next, when I go to the command line and enter compact /u /s to uncompress, I get "The system cannot find the file specified". Am I missing something in this command or entering it at the wrong spot?

  2. #2
    4 Star Lounger
    Join Date
    Jan 2002
    Location
    USA
    Posts
    531
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Compression (XPP)

    Hey Bruce-
    1) On the switch you're using--I think you are combining two switches and I'm not sure that combination would work. With Compact.exe's parameters try /C /U /A /S / /I /F /Q separately. You can't compress files larger than 4K--M$ believes it's not worth the performance hit. One place I checked said you can use /s "as well" so if "as well" means concommitantly I'm not sure why this won't work for you.

    2) I believe you don't have a choice when you run Disc Cleanup--that it is going to automatically compact your files when it runs--and if this is true, the checkbox is confusing.

    3) If a folder is specified for filename, the /c /u parameters will only act on new files added to the folder . Include /s "as well" to compress or uncompress files already in the folder. If the filename is omitted, use the /s option to act on all files in the current folder.

    4) For proof a file is compressed, right click on it in Explorer>Properties and see if the "size on disc" value is less than the "size value."

    5) Disk cleanup has an option to clean files in the Temp Folder, but the value lists [only] files in the temp folder that are more than one week old, so you could have hundereds of MB of files that wouldn't be touched in this category. The best way to clean temp files is to put % temp% in the command line. Ocassionally a file won't delete. I have one that won't, and sometimes it takes a restart (rarely for me). This is a quick and easy way to do that.

    6) You can use /f to force the operation if the system fails to finish.

    7) You can compress or uncompress files that match certain criteria. For example, to compress all text files type: compact /c *.txt

    There are also two other features a lot of people miss:

    1) /D driveletter will run disc cleanup.

    2) /Sageset:/n Enter number bet. 1-65535 for n. This opens a Disk Cleanup dialogue box and creates a registry key that corresponds to a number you entered and saves your settings in that key.

    3) /Sagerun:n Retrieves settings for number you entered in place of n and runs automatically without you.

    In the run box type cleanmgr /:sageset whatever number Bruce wants continguous with sageset like sageset:300 ( a no. bet. 1 and 65535.) In the dialogue box, choose your options you want to apply and click OK to save them in the registry. Create a shortcut using this command and save the shortcut in the Windows folder with a name you give it. Open Control Panel "Scheduled Tasks" applet and start the Scheduled Tasks wizard. When prompted to select what program you want to run, hit "Browse" and select the shortcut you just created in Notepad. Follow the wizard's remaining prompts to schedule the command to run at regular intervals. Repeat these steps for any other options you want to run on a regularly scheduled basis. For example, you can make a batch file that cleans your temporary internet files, which of course are different from your temporary files that you use %temp% to clean every time you boot or log in, and another to compress files every week or whatever.

    defrag

  3. #3
    Super Moderator
    Join Date
    Dec 2000
    Location
    Renton, Washington, USA
    Posts
    12,560
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Re: Compression (XPP)

    Bruce,
    Are you using NTFS on this machine? Remember that NTFS has a FILES compressing method that can be turned on. If turned on I am not sure what happens after it is turned OFF.

    Now running HP Pavilion a6528p, with Win7 64 Bit OS.

  4. #4
    Silver Lounger Bruce K's Avatar
    Join Date
    Apr 2002
    Location
    Phoenix, Arizona, USA
    Posts
    1,876
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Compression (XPP)

    Hi Frag ~

    The switches I am using are /u which is to uncompress files and /s which is for all subsequent files and subdirectories.

    You do have a choice in the compression as I have run Disk Clean-up many times without files being compressed. Not until I checked "Compress drive to save disk space" did this occur. I have since unchecked it, yet the drive still goes through a complete compression procedure.

    The Compact help file indicates to simply enter compact /u /s to uncompress files. I wonder if I need to enter any additional values. I am entering this at Cocuments and SettingsBruce G.F. Krymow>_.

  5. #5
    Silver Lounger Bruce K's Avatar
    Join Date
    Apr 2002
    Location
    Phoenix, Arizona, USA
    Posts
    1,876
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Compression (XPP)

    Hi Dave ~

    Yes, I am using NTFS. When I used Disk Clean up in the past, it never went through the compression procedure. At one point awhile back, I was under the misguided notion that compressing the files would increase my performance. I put the check in the box to compress files. Then I learned of the HUGE performance hit I would take as a result of doing so. I have long since cleared that box, but XP continues to compress my files. You are right in that after turning it off what would happen, but it appears that it is still active for some reason. It has compressed so many files in this last disk clean up that my system has slowed to an excruciating sloth-like crawl. You can imagine that I am now desperate to find a manner in which to uncompress these files and prevent this from occurring in the future.

  6. #6
    4 Star Lounger
    Join Date
    Jan 2002
    Location
    USA
    Posts
    531
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Compression (XPP)

    Bruce--

    I bet the answer is yes but were you using XP before when you used Disk Cleanup and it wasn't compressing files? I imagine answer is yes, but not sure because Disk Cleanup has been around since Win 98 and I wondered if it had changed with XP and NTFS.

    defrag

  7. #7
    Silver Lounger Bruce K's Avatar
    Join Date
    Apr 2002
    Location
    Phoenix, Arizona, USA
    Posts
    1,876
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Compression (XPP)

    Yes, sir, XP all the way. Disk clean-up works fine on other two machines in NTFS w/ no compression as well as this unit before I so eagerly jumped to check that feature.

  8. #8
    4 Star Lounger
    Join Date
    Jan 2002
    Location
    USA
    Posts
    531
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Compression (XPP)

    Bruce--Come to think of it---I ran disk cleanup just fine when I had the Beta RC1 of XP, but I cannot make it run--admittedly I am having to trim down my too full "C" Drive and that could be the problem. Mine starts, and runs a progress bar one fifth the way over, and freezes there and never shows me the normal dialogue box. I wish I knew how to stop the compression in yours. Has to be a way.

    defrag

  9. #9
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,594
    Thanks
    5
    Thanked 1,059 Times in 928 Posts

    Re: Compression (XPP)

    Bruce, The compression you mention is strictly a function of disk cleanup. How are you starting disk cleanup? Is it a scheduled task?

    Joe
    Joe

  10. #10
    Uranium Lounger
    Join Date
    Mar 2001
    Location
    New Jersey
    Posts
    6,684
    Thanks
    1
    Thanked 11 Times in 11 Posts

    Re: Compression (XPP)

    Hey Bruce,
    Have you tried turning that "feature" back on and uncompressing your files,and then disabling it ?? I'd guess that if it won't let you uncompress after you disabled the feature, that it might want the darn thing functioning to allow you to undo what it has done. I am, of course, just speculating, based on common sense (something that doesn't seem to be very common in Redmond).
    <IMG SRC=http://www.wopr.com/w3tuserpics/DocWatson_sig.gif>

  11. #11
    Silver Lounger Bruce K's Avatar
    Join Date
    Apr 2002
    Location
    Phoenix, Arizona, USA
    Posts
    1,876
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Compression (XPP)

    Yes, Joe, you are correct. It is started via the local drive properties or system tools in accessories. It is not a scheduled task: Task Scheduler Service is disabled.

  12. #12
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,594
    Thanks
    5
    Thanked 1,059 Times in 928 Posts

    Re: Compression (XPP)

    Bruce, When you start it don't you get a Window to check/un-check the functions you want Disk Cleanup to perform? Compression of old files is on that page.

    Joe
    Joe

  13. #13
    Silver Lounger Bruce K's Avatar
    Join Date
    Apr 2002
    Location
    Phoenix, Arizona, USA
    Posts
    1,876
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Compression (XPP)

    Hey there, Doc ~

    At this point there is no known mechanism for uncompressing files/folders once they have been compressed. Turning the feature back on will surely prepare it for compression when disk clean-up is triggered to run. If it is on, there is no additional feature to allow you to undo what it has done other than to turn the feature off to prevent compression of files in the future, allegedly.

  14. #14
    Silver Lounger Bruce K's Avatar
    Join Date
    Apr 2002
    Location
    Phoenix, Arizona, USA
    Posts
    1,876
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Compression (XPP)

    Joe ~
    When I run disk clean up all I get is small Disk Clean up window that automatically goes to compressing files - no dialogue or options. When it is done after some undetermined period of time, it simply closes.
    Attached Images Attached Images

  15. #15
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,594
    Thanks
    5
    Thanked 1,059 Times in 928 Posts

    Re: Compression (XPP)

    Bruce, I think the best thing for you would be to run it via command line setting the options you wish - see defrag's earlier post. Here's a link to a KB article on automating disk cleanup which explains more:
    http://support.microsoft.com/default.aspx?...b;en-us;Q315246.

    hth, Joe
    Joe

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •