Rename

From Scriptwiki
Revision as of 20:30, 3 September 2005 by BlackShroud (talk | contribs) (removed some spaces)

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 special path is given mIRC assumes to find the file using the mIRC directory as basedir.

Example

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

/rename foo.txt bar.doc

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

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