said: 
>"dir" or "dir /s" does not give you the total space required to for any 
>file or directory. 
True.  It only provides a sum of the logical file sizes. 
>On my system doing a "dir /s" on the desktop directory gives this answer 
>Total files listed: 
>     1033 file(s)       5336459 bytes used 
Now, that is a stuffed Desktop. 
>For a lot of the 
>desktop objects the file size is zero as the data are kept in the 
>extended attributes and or the system INI files. 
Few of the physical objects will have 0 size.  The ones that do are 
usually Templates.  The abstract objects are stored entirely in the INIs 
and will have no file associated with them. 
>This means that to find 
>out how much space a file/directory needs you need some other program to 
>compute the space since the "dir" command does not do it. 
Even if you ignore the extended attributes, the sum shown by dir is not a 
true measure of the space required.  It does not account for the slack 
space or for the space required to store the directory entry. 
Steven 
--  
---------------------------------------------------------------------- 
"Steven Levine"   MR2/ICE 2.37 #10183 Warp4/FP15/14.093c_W4 
www.scoug.com irc.webbnet.info irc.fyrelizard.org #scoug (Wed 7pm PST) 
---------------------------------------------------------------------- 
===================================================== 
To unsubscribe from this list, send an email message 
to "steward@scoug.com". In the body of the message, 
put the command "unsubscribe scoug-help". 
For problems, contact the list owner at 
"rollin@scoug.com". 
===================================================== 
<< Previous Message << 
 >> Next Message >>
Return to [ 14 | 
September | 
2003 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA  92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group.  ALL RIGHTS 
RESERVED. 
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International 
Business Machines Corporation.
All other trademarks remain the property of their respective owners.