[RESOLVED] How to get the disk space available programatically?
Hi
Is there a way to read the disk space available at a particular time daily and write that value to a log file? (for a particular drive)
can anyone help me in this?
Thanks
srinivas
Re: How to get the disk space available programatically?
Code:
Dim fso As New FileSystemObject
MsgBox fso.GetDrive("c:").AvailableSpace
remember the value returned by the function is in bytes so to convert to kb you have to divide by 1024
Re: How to get the disk space available programatically?