Freedisk
Checks to see if the specified amount of disk space is available before continuing with an installation process.
Syntax
Parameters
Remarks
- Using the /s, /u, and /p command-line options The /u and /p command-line options are available only when you use /s. You must use /p with /u to provide the user's password.
- For unattended installations, you can use freedisk in installation batch files to check for the prerequisite amount free space before continuing with the installation.
- When you use freedisk in a batch file, it returns a 0 if there is enough space and a 1 if there is not enough space.
Examples
freedisk 50mb
Output similar to the following appears on the screen:
INFO: The specified 52,428,800 byte(s) of free space is available on current drive.
Formatting legend
Format | Meaning |
Italic | Information that the user must supply |
Bold | Elements that the user must type exactly as shown |
Ellipsis (...) | Parameter that can be repeated several times in a command line |
Between brackets ([]) | Optional items |
Between braces ({}); choices separated by pipe (|). Example: {even|odd} | Set of choices from which the user must choose only one |
Courier font | Code or program output |