From WikiChip
Difference between revisions of "mirc/identifiers/$disk"
(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...") |
(No difference)
|
Revision as of 04:36, 23 September 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$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.