mIRC Home    About    Download    Register    News    Help

Print Thread
/mkdir #259470 02/12/16 08:25 PM
Joined: Jul 2006
Posts: 3,746
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,746
/mkdir fails if a file exists as the folder you are trying to create.

Quote:
//mkdir mircbug | rmdir mircbug | echo -a fine | write -c mircbug | .timer -ho 1 0 .remove mircbug | mkdir mircbug



Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: /mkdir [Re: Wims] #259471 02/12/16 08:50 PM
Joined: Apr 2004
Posts: 855
Sat Offline
Hoopy frood
Offline
Hoopy frood
Joined: Apr 2004
Posts: 855
That sounds like reasonable behavior, what's the bug?


Saturn, QuakeNet staff
Re: /mkdir [Re: Sat] #259473 02/12/16 10:20 PM
Joined: Jul 2006
Posts: 3,746
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,746
I was somehow under the assumption that you could totally do that, it seemed wrong so I just made a report, silly me!


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: /mkdir [Re: Wims] #259497 08/12/16 07:39 PM
Joined: Sep 2005
Posts: 2,881
H
hixxy Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
If you try to do the same thing in Windows Explorer you'll get an error message.

To avoid the problem, just use a file extension for every file you create.