On Apr 23, [EMAIL PROTECTED] said: >Is there anyway to find out "Free Disk Space" in Windows using PERL? >Assume I have a function say GetFreeDiskSpace(). I can specify some path >as a parameter to GetFreeDiskSpace() and want to get the return value in >bytes for available disk. The path can contain "Local Drive Name" or >"Share Name" or "Shared IP Address".
Download the Win32::DriveInfo module from CPAN (you can probably use ppm to get it). http://search.cpan.org/~mblaz/Win32-DriveInfo-0.06/ http://search.cpan.org/~mblaz/Win32-DriveInfo-0.06/DriveInfo.pm -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ CPAN ID: PINYAN [Need a programmer? If you like my work, let me know.] <stu> what does y/// stand for? <tenderpuss> why, yansliterate of course. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>