Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Directory Size
Name: Nesta River Date: January 6, 2000 at 08:36:22 Pacific
Comment:
Is there a way to know which is the size of a certain directory and all its structure ?
I only need the size, something like "du" command in linux.
Name: Cam Beck Date: January 6, 2000 at 12:53:33 Pacific
Reply:
I may be missing something, but just change to the directory and type "DIR" -- it will give total bytes taken up by the files in the directory. (Not familiar with "du" command in Linux).
0
Response Number 2
Name: MM Date: January 7, 2000 at 10:34:31 Pacific
Reply:
Cam You are missing somethig. DIR will tell you what is in Main Directory but not the total of Main Directory and all Sub Directories, Which is what I think Nesta means. I know of windows utilities for this, but not a DOS one.
Any further Ideas, someone?
0
Response Number 3
Name: Boegh Date: January 9, 2000 at 23:40:00 Pacific
Reply:
you can use dir/s this will give you the size of all sub directories for more options try dir/?
Summary: On Windows 2000, it's easy. There's just one little thing: the files on the subdirectories would count on the directory size? If YES, use this script: @echo off if "%1"=="" goto end set CDSZ=0 for /R ...
Summary: No, I don't think there's such command. However, you may extract that value from the DIR command output. The follwing batch script will print to screen the current directory size, including all files ...
Summary: tech I'm using 2.5, running under dos from a floppy(ME installed) mike Ram on my pc = 192 max directory size in mg I can compress without the error is about 180mg Looking up the man pages and will po...