From WikiChip
Difference between revisions of "mirc/commands/rmdir"
m (Bot: Automated text replacement (-<small>Note: Individual switches were not taken into consideration.</small> +)) |
(→Example) |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{mirc title|/rmdir Command}} | ||
The '''/rmdir command''' deletes an empty directory. If the directly contains either files or other directories, an error will occur. | The '''/rmdir command''' deletes an empty directory. If the directly contains either files or other directories, an error will occur. | ||
Line 11: | 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\ |
+ | /rmdir newdir\folder\ | ||
+ | /rmdir newdir | ||
+ | </syntaxhighlight> | ||
== Compatibility == | == Compatibility == | ||
− | + | {{mIRC compatibility|5.3}} | |
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
Line 40: | Line 41: | ||
{{mIRC command list}} | {{mIRC command list}} | ||
− | [[Category: | + | [[Category:mIRC commands|rmdir command - mIRC]] |
Latest revision as of 18:23, 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[edit]
/rmdir <dirname>
Switches[edit]
None
Parameters[edit]
- <dirname> - The path/name of the directory to delete
Example[edit]
; Create a directory in the mIRC root folder /mkdir newdir\folder\example\ ; Delete it /rmdir newdir\folder\example\ /rmdir newdir\folder\ /rmdir newdir
Compatibility[edit]
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[edit]
- List of commands
- List of identifiers
- $mircdir
- $scriptdir
- $read
- $findfile
- $finddir
- /copy
- /mkdir
- /remove
- /rename
- /run
- /write
mIRC commands list