on Sun, 14 Sep 2003
10:46:10 PDT7
> If I run DIR from the command line there's a Total at the end of the
> listing so I can see total number of files and bytes. DIR /S gives me a
> similar total for the entire tree.
"dir" or "dir /s" does not give you the total space required to for any file or
directory.
> How can I do this for a folder on the Desktop? The Details view
> (View->Details) shows individual file info but no totals. (I know I can
> write a .cmd that I can drop the folder onto, but I'd like to know if
> the totals are already available some way.)
A "dir /s" does the same thing for all directories, it does not make any
difference what directory you want to use as the starting directory.
On my system doing a "dir /s" on the desktop directory gives this answer
Total files listed:
1033 file(s) 5336459 bytes used
One thing the "dir" command does not compute is the extended attributes so the
only thing in the total is the files size. 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. 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.
=====================================================
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.