mIRC Homepage
Posted By: pouncer check to see if a folder exists - 12/11/07 06:55 PM
how can i check if a certain folder exists in my script directory, and if not, then create it?
Posted By: hixxy Re: check to see if a folder exists - 12/11/07 06:55 PM
Code:
var %dir = c:\bla\bla
if (!$isdir(%dir)) { .mkdir %dir }
Posted By: deegee Re: check to see if a folder exists - 12/11/07 07:37 PM
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...
© mIRC Discussion Forums