@DISKTOTAL

Print Topic  Return to Overview  Previous Topic  Next Topic 

@DISKTOTAL[d:[,scale[c]]] : Returns the total disk space on the specified drive. If you're specifying a drive, the drive letter must be followed by a colon. Optionally, you can specify a directory or UNC name, and @DISKTOTAL will display the total disk space on the drive referenced by that name (which may be different from the drive if the directory is a link to a directory on another drive).

 

The optional second parameter specifies the reporting scale (see Memory Size  / Disk Space / File Size Units and Report Format). If the scale specification is suffixed with c the result will be formatted using the thousands separator.

 

@DISKTOTAL supports OpenAFS names.

 

See also: @DISKFREE and @DISKUSED.

 

Examples:

 

echo %@disktotal[c:]

echo %@disktotal[%_disk:,Kc]

 

Topic "f_disktotal.htm" last edited 1/26/2008. ©2008  JP Software, Inc.
Keywords: @DISKTOTAL