FREEDISK – Windows CMD Command
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119
Checks to see if a specified amount of disk space is available.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
Syntax FREEDISK [/s Computer [/u [Domain\]User [/p [Password]]]] [/d Drive] [Value] Key /s Computer 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 Run the script with the permissions of the specified user account. The default is system permissions. /p [Password] The password of the user account that is specified in /u. /d Drive The drive for which you want to find out the availability of free space. You must specify Drive for a remote computer. Value Check for a specific amount of free disk space. specify Value in bytes, KB, MB, GB, TB, PB, EB, ZB or YB. |
When used in a batch file, freedisk returns errorlevel=0 if there is enough space and errorlevel=1 if there is not enough space.
For unattended installations, you can use FREEDISK in installation batch files to check for a prerequisite amount of free space before continuing with the installation.
1 2 3 4 5 |
Example Determine if there is at least 50 MB of free space on drive C: freedisk 50mb |
Hello my friend! I want to say that this article is awesome, nice written and include approximately all vital infos. I’d like to see more posts like this.
i like this recommended post