Compact

  • Thread starter Thread starter Barney
  • Start date Start date
B

Barney

Why doesn't the DIR command show me the 'results' of a
folder that has been COMPACTed. It reports the same byte
count before and after the operation. Explorer reports
the difference between the "Size" and the "Size on disk".
Am I missing an argument?
 
In said:
Why doesn't the DIR command show me the 'results' of a
folder that has been COMPACTed. It reports the same byte
count before and after the operation. Explorer reports
the difference between the "Size" and the "Size on disk".
Am I missing an argument?

Explorer's (File Properties) "size" and "size on disk" do not reflect
on-disk compression values. They indicate the actual file size
(length) and the ammount of disk space used to store it. The required
space is an even number of units ("clusters" or "allocation units")
which vary with the size of the disk and how it was formatted.
Most files have some "slack" between the end-of-file and the end of the
cluster(s) in which the file is stored.

What you want to use at a cmd prompt for details on files and
directories that have the Compressed bit set is the compact.exe
command. compact /?
 
Back
Top