Returns the total disk space of a path in Megabytes.
DriveSpaceTotal ( "path" )
DriveSpaceTotal() may even work when a complete directory path (that exists) is given. However, a file path won't work.
DriveGetDrive, DriveGetFileSystem, DriveGetLabel, DriveGetSerial, DriveGetType, DriveSetLabel, DriveSpaceFree, DriveStatus, FileGetSize
#include <MsgBoxConstants.au3>
Local $iTotalSpace= DriveSpaceTotal (@HomeDrive &"\"); Find the total disk space of the home drive, generally this is the C:\ drive.
MsgBox ($MB_SYSTEMMODAL,"","Total Space: "&$iTotalSpace&" MB")