Difference between revisions of "Remove"

From Scriptwiki
Jump to: navigation, search
(added path info)
Line 23: Line 23:
 
   /remove -b "my file.txt"
 
   /remove -b "my file.txt"
  
 +
== See Also ==
 +
 +
To delete a directory: [[rmdir|/rmdir]]
  
 
[[Category:Commands]]
 
[[Category:Commands]]

Revision as of 19:33, 3 September 2005

Removes the specified file.

 /remove <file>

The b switch removes the file and moves it to the recycle bin.

 /remove -b <file>

<file> is the file you want to delete. 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

Delete "moo.txt"

 /remove moo.txt

Delete "my music.mp3"

 /remove "my music.mp3"

Move "my file.txt" to the recycle bin

 /remove -b "my file.txt"

See Also

To delete a directory: /rmdir