HTH#!perl use warnings; use strict; use Win32::OLE; my $fs = Win32::OLE->CreateObject('Scripting.FileSystemObject'); my $dir = 'c:/s'; my $dir_obj = $fs->GetFolder($dir); print $dir_obj->Size(), " bytes used\n"; __END__ Output: 38521553 bytes used
In reply to Re: Dirsize using Win32 API call?
by jsprat
in thread Dirsize using Win32 API call?
by Ritter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |