From WikiChip
$disk Identifier - mIRC
< mirc‎ | identifiers
Revision as of 03:36, 23 September 2017 by 83.204.158.116 (talk) (Created page with "{{mirc title|$disk Identifier}}'''$disk''' returns informations about hard disks == Synopsis == <pre>$disk(N/path)</pre> == Paramters == * '''N''' - The Nth hard disks avai...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

$disk returns informations about hard disks

Synopsis

$disk(N/path)

Paramters

  • N - The Nth hard disks available, if N = 0, returns the total available drives
  • path - a drive name

Without a property, returns $true if drive exists, otherwise $false

Properties

  • type - returns the type of drive, fixed or removable
  • free - returns the number of free space on drive in bytes
  • label - returns the name/label of the drive, if any
  • size - returns the total size of the drive
  • unc - returns the path for a network drive.
  • path - returns the path of the drive

Example

//echo -a $disk(0)

Compatibility

Added: mIRC v5.6
Added on: 03 Jun 1999
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also