For Programmers: Free Programming Magazines  


Home > Archive > C# > June 2006 > Determine the free space of a mounted volume?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Determine the free space of a mounted volume?
LowFuel

2006-06-17, 7:02 pm

Anyone know how I can determine the free space of a volume that is
mounted within a folder, rather than on a drive letter?

The DriveInfo class seems to want to work only off drive letters.

What I'm trying to do is write a simple program to generate a disk
space usage report. I have numerous volumes mounted as:

c:\storage\data1
c:\storage\data2
etc....

data1 and data2 above are volumes, not folders, and I want to determine
how much free space each has.

Thanks for any tips...

Jason

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com