mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Oct 2005
Posts: 827
P
pouncer Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: Oct 2005
Posts: 827
how can i check if a certain folder exists in my script directory, and if not, then create it?

Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Code:
var %dir = c:\bla\bla
if (!$isdir(%dir)) { .mkdir %dir }

Joined: Jun 2006
Posts: 508
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
You don't really need to check, if you /mkdir an existing folder there's no error. wink

No need to .silence mkdir either, there's no output...


Link Copied to Clipboard