File size for NTFS compressed directories 
Author Message
 File size for NTFS compressed directories

The "file size" command does not report the actual size of compressed
files on Win XP file systems.

dir *.ixf

02/02/2004  10:42 AM         5,869,722 ECRCLDS.ixf
                1 File(s)      5,869,722 bytes

% file size ECRCLDS.ixf

The windows "compact" command shows the actual size on disk.
C:\>compact ECRCLDS.ixf

  New files added to this directory will not be compressed.

   5869722 :   1830912 = 3.2 to 1 C ECRCLDS.ixf

Of 1 files within 1 directories
1 are compressed and 0 are not compressed.
5,869,722 total bytes of data are stored in 1,830,912 bytes.
The compression ratio is 3.2 to 1.

Obviously "file size" reports what "dir" sees but is there any Tcl
command that shows the NTFS compressed size?



Sat, 29 Jul 2006 09:53:09 GMT  
 [ 1 post ] 

 Relevant Pages 

1. NTFS directory linking under Python

2. Diskspace() function reports incorret size using NTFS

3. Directory() & file size

4. Directory info and file size data in Fortran

5. Unexpected results of [file writable] and [file attributes] on NTFS

6. squeak, source files, change files, merging, compressing

7. Setting file security on NTFS (using OSCall methods)

8. Directory of File/Directories on CD

9. copy file from one directory to another directory

10. Clarion 2.110 files on Win-NT 3.51 with NTFS

11. Directoty Func. on NTFS and long file names

12. NTFS Filing system (offtopic)


Powered by phpBB® Forum Software