Difference between revisions of "Remove"

From Scriptwiki
Jump to: navigation, search
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
Removes the specified file.
 
Removes the specified file.
  
  /remove <file>
+
/remove <file>
  
 
The b switch removes the file and moves it to the recycle bin.
 
The b switch removes the file and moves it to the recycle bin.
  
  /remove -b <file>
+
/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|mIRC]] assumes to find the file using the [[$mircdir|mIRC directory]] as basedir.
 
<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|mIRC]] assumes to find the file using the [[$mircdir|mIRC directory]] as basedir.
Line 13: Line 13:
 
Deletes "moo.txt"
 
Deletes "moo.txt"
  
  /remove moo.txt
+
/remove moo.txt
  
 
Deletes "my music.mp3"
 
Deletes "my music.mp3"
  
  /remove "my music.mp3"
+
/remove "my music.mp3"
  
 
Moves "my file.txt" to the recycle bin
 
Moves "my file.txt" to the recycle bin
  
  /remove -b "my file.txt"
+
/remove -b "my file.txt"
  
 
== See Also ==
 
== See Also ==
 
+
* [[rmdir|/rmdir]] to delete a directory.
To delete a directory: [[rmdir|/rmdir]]
 
  
 
[[Category:Commands]]
 
[[Category:Commands]]

Latest revision as of 08:32, 2 July 2007

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

Deletes "moo.txt"

/remove moo.txt

Deletes "my music.mp3"

/remove "my music.mp3"

Moves "my file.txt" to the recycle bin

/remove -b "my file.txt"

See Also

  • /rmdir to delete a directory.