From WikiChip
Difference between revisions of "mirc/commands/rmdir"
m (Bot: de-linking old mIRC menu) |
(→Example) |
||
Line 12: | Line 12: | ||
== Example == | == Example == | ||
− | <syntaxhighlight lang="mIRC">; Create a directory | + | <syntaxhighlight lang="mIRC"> |
− | /mkdir example | + | ; Create a directory in the mIRC root folder |
+ | /mkdir newdir\folder\example\ | ||
; Delete it | ; Delete it | ||
− | /rmdir example</syntaxhighlight> | + | /rmdir newdir\folder\example\ |
+ | </syntaxhighlight> | ||
== Compatibility == | == Compatibility == |
Revision as of 18:15, 23 August 2025
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The /rmdir command deletes an empty directory. If the directly contains either files or other directories, an error will occur.
Synopsis
/rmdir <dirname>
Switches
None
Parameters
- <dirname> - The path/name of the directory to delete
Example
; Create a directory in the mIRC root folder /mkdir newdir\folder\example\ ; Delete it /rmdir newdir\folder\example\
Compatibility
Added: mIRC v5.3
Added on: 13 Dec 1997
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See also
- List of commands
- List of identifiers
- $mircdir
- $scriptdir
- $read
- $findfile
- $finddir
- /copy
- /mkdir
- /remove
- /rename
- /run
- /write
mIRC commands list