mIRC Home    About    Download    Register    News    Help

Print Thread
#53031 09/10/03 02:57 AM
Joined: Aug 2003
Posts: 15
H
Pikka bird
OP Offline
Pikka bird
H
Joined: Aug 2003
Posts: 15
Hello,
I was wondering..
why can /remove delete file names, but why CAN"T it delete folders.
If you know please respond thank you.


IRC.MediaDriven.COM - Live the Phantasy PhantasyX Script v3.0 - @#Scripting - www.mircscripts.org
#53032 09/10/03 03:00 AM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Simple. Remove is for files, not directories. Your thinking of /rmdir and /mkdir >:D


-KingTomato
#53033 09/10/03 03:04 AM
Joined: Aug 2003
Posts: 15
H
Pikka bird
OP Offline
Pikka bird
H
Joined: Aug 2003
Posts: 15
/rmdir Cann't delete folders with files in them.


IRC.MediaDriven.COM - Live the Phantasy PhantasyX Script v3.0 - @#Scripting - www.mircscripts.org
#53034 09/10/03 03:30 AM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Not to infer sarcasm, but duh.. No command can delete a directory with files in it. You have to cleanr the dir first, then delete.


-KingTomato
#53035 09/10/03 11:33 AM
Joined: Jun 2003
Posts: 384
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2003
Posts: 384
Is there not a recursive delete flag (-r) for the rmdir command? If not, seems a tad cumbersome to have to specify to delete all files in the directory and then the actual directory itself crazy


Link Copied to Clipboard