RE: Calculating Disk Space and Freespace on Windows

2003-06-24 Thread Bakken, Luke
You want Win32::DriveInfo

> -Original Message-
> From: Denham Eva [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, June 24, 2003 12:42 AM
> To: BeginnersPerl (E-mail); Perl-Beginner (E-mail)
> Subject: Calculating Disk Space and Freespace on Windows
> 
> 
> Hello,
> 
> I'd appreciate any suggestions on how to calculate Disk space and Free
> Space.
> 
> Many Thanks
> Denham Eva
> Oracle DBA
> Linux like TeePee... No Windows, No Gates and Apache inside!
> 
> 
> __
> ___
> This e-mail message has been scanned for Viruses and Content 
> and cleared 
> by MailMarshal
> 
> For more information please visit www.marshalsoftware.com
> __
> ___
> 
> ##
> ###
> Note:
> This message is for the named person's use only.  It may 
> contain confidential,
> proprietary or legally privileged information.  No 
> confidentiality or privilege
> is waived or lost by any mistransmission.  If you receive 
> this message in error,
> please immediately delete it and all copies of it from your 
> system, destroy any
> hard copies of it and notify the sender.  You must not, 
> directly or indirectly,
> use, disclose, distribute, print, or copy any part of this 
> message if you are not
> the intended recipient. TFMC and any of its subsidiaries each reserve
> the right to monitor all e-mail communications through its networks.
> 
> Any views expressed in this message are those of the 
> individual sender, except where
> the message states otherwise and the sender is authorized to 
> state them to be the
> views of any such entity.
> 
> Thank You.
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Calculating Disk Space and Freespace on Windows

2003-06-24 Thread Jenda Krynicky
From: Denham Eva <[EMAIL PROTECTED]>
> I'd appreciate any suggestions on how to calculate Disk space and Free
> Space.

use Win32::FileOp;
($free_for_user, $total_space, $total_free) = GetDiskFreeSpace('C:');

You may install Win32::FileOp with PPM from 
http://Jenda.Krynicky.cz/perl

c:\> ppm
ppm> rep add Jenda http://Jenda.Krynicky.cz/perl
ppm> install Win32::FileOp

HTH, Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Calculating Disk Space and Freespace on Windows

2003-06-24 Thread Denham Eva
Hello,

I'd appreciate any suggestions on how to calculate Disk space and Free
Space.

Many Thanks
Denham Eva
Oracle DBA
Linux like TeePee... No Windows, No Gates and Apache inside!


_
This e-mail message has been scanned for Viruses and Content and cleared 
by MailMarshal

For more information please visit www.marshalsoftware.com
_

#
Note:
This message is for the named person's use only.  It may contain confidential,
proprietary or legally privileged information.  No confidentiality or privilege
is waived or lost by any mistransmission.  If you receive this message in error,
please immediately delete it and all copies of it from your system, destroy any
hard copies of it and notify the sender.  You must not, directly or indirectly,
use, disclose, distribute, print, or copy any part of this message if you are not
the intended recipient. TFMC and any of its subsidiaries each reserve
the right to monitor all e-mail communications through its networks.

Any views expressed in this message are those of the individual sender, except where
the message states otherwise and the sender is authorized to state them to be the
views of any such entity.

Thank You.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]