develooper Front page | perl.beginners | Postings from December 2002

Directory and its sub-directory disk usage: Windows '98

Thread Next
Rajendra Babu, Praveen
December 29, 2002 16:09
Directory and its sub-directory disk usage: Windows '98
Message ID:
Hi All,
      This is in Windows '98. I am writing a script to find the entire
directory space(i.e. including sub-directories) occupied from an input
directory name.

Eg. If at the command prompt  I give something like, "perl
h:\raps\test\prajendr", the output should be the entire disk space occupied
by the directory "prajendr" and all its sub-directories. The one least
option I am looking at is "dir /s" and re-directing it to a file and then
manipulating the same.
  Is there a better way in Windows ?!


(1) The contents of this email and its attachments are confidential and 
intended only for the individual or entity named above. Any unauthorised
use of the contents is expressly prohibited.  If you receive this email 
in error, please contact us, then delete the email.
(2) ACNielsen collects personal information to provide and market our 
services. For more information about use, disclosure and access see our 
privacy policy at <> or contact us on

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About