Command Prompt for Windows




Command DISKFREE

Function:

Get the amount of free disk space for the specified drive. The free disk space (in bytes) is stored in an environment variable called DISKFREE.

Syntax:

DISKFREE [drive:]
drive:Specifies the drive to use.

Note:

When the parameter drive: is not specified then the current drive is used.

Also see command DISKUSED and Batch Files.