Rename

From Scriptwiki
Revision as of 19:56, 7 April 2008 by Daveoh (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Renames the specified file or directory.

/rename <filename> <newfilename>
/rename <directoryname> <newdirectoryname>

Can also be used to move a file from one to another directory. If the filename contains spaces, you need to use double quotes. If no path is given, mIRC attempts to find the file within the mIRC directory.

Example

/rename foo.txt bar.doc

Renames "foo.txt" to "bar.doc" in the mIRC directory.

/rename "C:\My Directory\foo.txt" "D:\bar.txt"

Renames and moves "C:\My Directory\foo.txt" to "D:\bar.txt"

See Also