http://qs1969.pair.com?node_id=940015


in reply to Re^3: Using stat()
in thread Using stat() to get the total size of files in a folder

For Windows it will be glob "C:/" ?
my $size = 0; for my $filename (glob("C:/")) { next unless -f $filename; $size += -s _; }