-
WikiChip
WikiChip
-
Architectures
Popular x86
-
Intel
- Client
- Server
- Big Cores
- Small Cores
-
AMD
Popular ARM
-
ARM
- Server
- Big
- Little
-
Cavium
-
Samsung
-
-
Chips
Popular Families
-
Ampere
-
Apple
-
Cavium
-
HiSilicon
-
MediaTek
-
NXP
-
Qualcomm
-
Renesas
-
Samsung
-
From WikiChip
$disk identifier - mIRC
< mirc | identifiers
Revision as of 21:54, 1 February 2021 by 84.17.60.53 (talk) (→Properties: added .type property possible types.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
- mIRC Installation
- Virtual profile
- Playing music
- Unicode
- IPv6
- Optimization
- Threads
- DCC Protocols
- Line Length Limit
- Font rendering
$disk returns informations about hard disks.
Synopsis[edit]
$disk(N/path)
Parameters[edit]
- 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[edit]
- type - returns the type of drive; values are fixed, removable, cdrom, ramdisk, remote, and unknown.
- 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[edit]
//echo -a $disk(0)
Compatibility[edit]
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[edit]
[Expand]