Command Prompt for Windows




Command DISKUSED

Function:

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

Syntax:

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

Note:

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

Also see command DISKFREE and Batch Files.