rob bradford
New Member
All.
I know how to get usage and drive type information via API calls but I cant sort out a reliable method of dynamically building a list of available drives. As this code must run on various machines I need to build this list at runtime.
HOW? An API call would be nice, but I'm open to ideas.
Why do I want to do this, well there is a requirement to monitor disc usage across available drives after nightly uploads, and e-mail the appropriate people is a threshold for minimum acceptable space is crossed. (e-mail is via a mappi thingy). All works fine but I would like to build a drive list dynamically.
Weeding out CD's, removable drive's ect is done.
Thanks in advance.
Rob.B.
I know how to get usage and drive type information via API calls but I cant sort out a reliable method of dynamically building a list of available drives. As this code must run on various machines I need to build this list at runtime.
HOW? An API call would be nice, but I'm open to ideas.
Why do I want to do this, well there is a requirement to monitor disc usage across available drives after nightly uploads, and e-mail the appropriate people is a threshold for minimum acceptable space is crossed. (e-mail is via a mappi thingy). All works fine but I would like to build a drive list dynamically.
Weeding out CD's, removable drive's ect is done.
Thanks in advance.
Rob.B.