DriveSpaceFree
Posted: 26 Sep 2022, 19:37
The documentation for DriveSpaceFree states:
Internally, that command uses the GetDiskFreeSpaceEx function and its documentation states:https://www.autohotkey.com/docs/commands/DriveSpaceFree.htm wrote:Path of drive to receive information from. Since...
Thus, I recommend the following change to the DriveSpaceFree documentation page:https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getdiskfreespaceexw wrote:This parameter does not have to specify the root directory on a disk. The function accepts any directory on a disk.
To help the reader, the following line could be added at the bottom of Example #1:https://www.autohotkey.com/docs/commands/DriveSpaceFree.htm wrote:Path of drive (or any directory on the drive) to receive information from. Since...
https://www.autohotkey.com/docs/commands/DriveSpaceFree.htm#ExBasic wrote:DriveSpaceFree, FreeSpace, C:\Windows