From WikiChip
Difference between revisions of "mirc/commands/rename"
m (Bot: Fixing links) |
m (Bot: Fixing links) |
||
Line 1: | Line 1: | ||
− | The '''/rename command''' can be used to rename and/or move a file or a directory. If the path contains spaces, you must enclose the path in a pair of double quotes ( | + | The '''/rename command''' can be used to rename and/or move a file or a directory. If the path contains spaces, you must enclose the path in a pair of double quotes ({{mIRC|$qt}}). |
== Synopsis == | == Synopsis == | ||
Line 29: | Line 29: | ||
* [[List of commands - mIRC|List of commands]] | * [[List of commands - mIRC|List of commands]] | ||
* [[List of identifiers - mIRC|List of identifiers]] | * [[List of identifiers - mIRC|List of identifiers]] | ||
− | * | + | * {{mIRC|$read}} |
− | * | + | * {{mIRC|$readini}} |
− | * | + | * {{mIRC|$fopen}} |
* {{mIRC|/copy}} | * {{mIRC|/copy}} | ||
* {{mIRC|/fclose}} | * {{mIRC|/fclose}} |
Revision as of 19:37, 5 July 2014
The /rename command can be used to rename and/or move a file or a directory. If the path contains spaces, you must enclose the path in a pair of double quotes ($qt).
Synopsis
/rename <filename> <new_filename> /rename <dirname> <new_dirname>
Switches
- <filename> - The path of the file or directory to rename or move
- <new_filename> - The new path of the file or directory
Parameters
None
Example
/rename E:\example.txt E:\renamed.txt
Will produce the following result:
* Renamed 'E:\example.txt' to 'E:\renamed.txt'
Compatibility
Added: mIRC v5.3
Added On: 13/12/97
Note: Individual switches were not taken into consideration.
See also
- List of commands
- List of identifiers
- $read
- $readini
- $fopen
- /copy
- /fclose
- /fopen
- /mkdir
- /remove
- /rmdir
- /write
- /writeini
mIRC commands list