mIRC Home    About    Download    Register    News    Help

Topic Options
#259470 - 02/12/16 08:25 PM /mkdir
Wims Offline
Planetary brain

Registered: 31/07/06
Posts: 3438
Loc: France
/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

Top
#259471 - 02/12/16 08:50 PM Re: /mkdir [Re: Wims]
Sat Offline
Hoopy frood

Registered: 19/04/04
Posts: 831
Loc: The Netherlands
That sounds like reasonable behavior, what's the bug?
_________________________
Saturn, QuakeNet staff

Top
#259473 - 02/12/16 10:20 PM Re: /mkdir [Re: Sat]
Wims Offline
Planetary brain

Registered: 31/07/06
Posts: 3438
Loc: France
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

Top
#259497 - 08/12/16 07:39 PM Re: /mkdir [Re: Wims]
hixxy Offline
Hoopy frood

Registered: 06/09/05
Posts: 2876
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.

Top