Jump to content

Search the Community

Showing results for tags 'windows command'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Operating System Support
    • Windows Client OS Support
    • Windows Server Technologies
    • Mac, Linux, Chrome OS Support
  • Support and Discussion
    • Hardware Support and Discussion
    • Microsoft Application Support
    • General Software Support and Discussion
    • Internet, Networking and Security
    • Miscellaneous Support!
  • Essentials
    • Essential Guides
    • Essential Reviews
    • Essential Headlines
    • Essential Software
    • Essential Updates
  • Everything Else
    • The Game Zone
    • Programming, Debugging, Scripting...
    • Websites, Design and Code
    • Home Cinema, Television, Sky, Virgin Media, Freeview, Freesat
  • Windows Forum Chat
    • Windows Forum Related
    • Debates and Poll Station
    • Subscribers Lounge
    • The Lounge
    • NEW Members

Calendars

  • Community Calendar

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Skype


Website URL


Full Name


Location


Interests

Found 1 result

  1. I have a custom program (batch file) which make daily logs. I keep the original just in case but I use a summary of it which is made from pruning the original file (threough regex & other replacements) making an uncompressed file about the 1/3 of the (original) size. After I created the summary I'd like to compress the original (keeping it just in case, will seldomly be used). I made an archives folder inside the logs folder which I moved 3 (original) file just after (its creation). I then remembered about tweaking with folder properties and seeing comthing about compression ; I checked "Compress contents to save disk space" in Advanced. Curiosity got the better of me and I really wanted to see how it did compared to a "regular" archive file.stumbling on Compression ratio of Windows file compression so I tried the command Compact but I got for result >compact archives\ Listing .\archives\ New files added to this directory will be compressed. Of 0 files within 1 directories 0 are compressed and 0 are not compressed. 0 total bytes of data are stored in 0 bytes. The compression ratio is 1.0 to 1. >dir archives Directory of .\archives 24/03/2012 04:35 PM <DIR> . 24/03/2012 04:35 PM <DIR> .. 21/03/2012 11:59 PM 1,063,983 pinger-60-120321.txt 22/03/2012 11:59 PM 1,232,328 pinger-60-120322.txt 24/03/2012 12:00 AM 1,235,511 pinger-60-120323.txt 3 File(s) 3,531,822 bytes 2 Dir(s) 20,409,688,064 bytes free and as you can see the folder contained files so somethign was wrong with the command I then moved inside the directory and had another try >compact Listing \archives\ New files added to this directory will be compressed. 1063983 : 1063983 = 1.0 to 1 pinger-60-120321.txt 1232328 : 1232328 = 1.0 to 1 pinger-60-120322.txt 1235511 : 1235511 = 1.0 to 1 pinger-60-120323.txt Of 4 files within 1 directories 1 are compressed and 3 are not compressed. 3,531,870 total bytes of data are stored in 3,531,870 bytes. The compression ratio is 1.0 to 1. I then thought it could have been because the files were already there co forced compaction >compact /c /f *.* Compressing files in \archives\ pinger-60-120321.txt 1063983 : 266240 = 4.0 to 1 [OK] pinger-60-120322.txt 1232328 : 307200 = 4.0 to 1 [OK] pinger-60-120323.txt 1235511 : 307200 = 4.0 to 1 [OK] 4 files within 1 directories were compressed. 3,531,870 total bytes of data are stored in 880,688 bytes. The compression ratio is 4.0 to 1. >compact Listing \archives\ New files added to this directory will be compressed. 1063983 : 266240 = 4.0 to 1 C pinger-60-120321.txt 1232328 : 307200 = 4.0 to 1 C pinger-60-120322.txt 1235511 : 307200 = 4.0 to 1 C pinger-60-120323.txt Of 4 files within 1 directories 4 are compressed and 0 are not compressed. 3,531,870 total bytes of data are stored in 880,688 bytes. The compression ratio is 4.0 to 1. but later I moved a new file (original log, not summary) inside the compressed folder but it seem it wasn't compressed >compact Listing \archives\ New files added to this directory will be compressed. 1063983 : 266240 = 4.0 to 1 C pinger-60-120321.txt 1232328 : 307200 = 4.0 to 1 C pinger-60-120322.txt 1235511 : 307200 = 4.0 to 1 C pinger-60-120323.txt 1234703 : 1234703 = 1.0 to 1 pinger-60-120324.txt Of 5 files within 1 directories 4 are compressed and 1 are not compressed. 4,766,573 total bytes of data are stored in 2,115,391 bytes. The compression ratio is 2.3 to 1. Is there comthing I don't understand about NTFS compressed folder? I thought those were folder which added files were automatically compressed. Please help. Thnak you kindly
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy