freedisk
Checks to see if the specified amount of disk space is available before continuing with an installation process. Windows commands reference
On Windows
Windows
freedisk [/s <computer> [/u [<domain>\]<user> [/p [<password>]]]] [/d <drive>] [<value>]freedisk 50mbINFO: The specified 52,428,800 byte(s) of free space is available on current drive.
/s <computer>Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer. This parameter applies to all files and folders specified in the command./u [<domain>\\]<user>Runs the script with the permissions of the specified user account. The default is system permissions./p [<password>]Specifies the password of the user account that is specified in /u./d <drive>Specifies the drive for which you want to find out the availability of free space. You must specify <drive> for a remote computer.<value>Checks for a specific amount of free disk space. You can specify <value> in bytes, KB, MB, GB, TB, PB, EB, ZB, or YB.