my task needs me to do a simple programme to detect the hard disk capacity and free space in the pc....i am doing a windows stand alone application.. where by... i will create the .exe and place it to every remote pc.. so that when i schedule the exe to run..... the process will be run and get the data needed...
anyway.. i just wana ask.... is there any possibility for me to get the all drive available at the pc and then get the capacity of the free space?
coz now.. with those coding... it can onli detect the drive IF ONLY i state at the coding
sample coding
Dim fs, d, n
fs = Server.CreateObject("Scripting.FileSystemObject")
d = fs.GetDrive("c:")
TextBox1.Text = d.TotalSize
d = Nothing
fs = Nothing
so lets say.... if the hard disk does have 3partitions, anyway i can find it with my coding that detect there are C: , D:, E:, as well as getting the totalsize or freespace of the hard disk?
thank you/....
*really in need of help....