2 answers:
Code: Select all
IfNotExist, %CLogDir%
FileCreateDir, %LogDir%
What is LogDir? The folder name you are trying to create?
But then what is CLogDir??
Before that someone gave this answer:
Code: Select all
If( InStr( FileExist("Dirname"), "D") )
msgbox Directory exists
I'm using this version for now (with FileCreateDir, DirName after)
Just wondering which is the better one. If first one, how do I make work?
Thanks.