Professional Windows Server 1002003 Security A Technical Reference [Electronic resources]

Roberta Bragg

نسخه متنی -صفحه : 415/ 307
نمايش فراداده

freedisk

Checks for free space on a disk.

Syntax

freedisk [/s Computer [/u [Domain\]User [/p [Password]]]] [/d Drive] [Value]

Options

/s Computer /u [Domain\]User /p [Password]

Name or IP address of a remote computer (if omitted, defaults to local computer) and credentials for running the script (if omitted, defaults to SYSTEM built-in identity).

/d Drive

Drive to check for free space.

Value

Amount of free space to check for (can be in bytes, KB, MB, GB, TB, PB, or NB).

Examples

Check if E: drive has at least 100-MB free space:

freedisk /d e: 100MB
SUCCESS: The specified 104,857,600 byte(s) of free space are available on "E:\" volume.

Notes

When performing unattended installations, use freedisk in a batch file to verify sufficient free space for the installation to proceed.

See Also

defrag, diskpart,

Disks , format, freedisk