From WikiChip
Difference between revisions of "mirc/commands/rename"
< mirc‎ | commands

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 ([[$qt identifier - mIRC|$qt]]).
+
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]]
* [[$read identifier - mIRC|$read]]
+
* {{mIRC|$read}}
* [[$readini identifier - mIRC|$readini]]
+
* {{mIRC|$readini}}
* [[$fopen identifier - mIRC|$fopen]]
+
* {{mIRC|$fopen}}
 
* {{mIRC|/copy}}
 
* {{mIRC|/copy}}
 
* {{mIRC|/fclose}}
 
* {{mIRC|/fclose}}

Revision as of 20: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

[Expand]
v · d · e mIRC commands list