From Scriptwiki
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.


/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