Skip to Content
0
Former Member
Nov 01, 2012 at 08:28 PM

Creating directory, how to check if directory exists if condition

688 Views

I am using the following command to create a directory, now before creating want to check if Dir Exists, then ignore else create:

exec('cmd.exe','mkdir [$Path3]',0);

Thanks a lot for the helpful info.