Posts: 1,000
Threads: 253
Joined: Feb 2008
Can't seem to get this to work right.
Function
Create_Directory
if(!dir("$desktop$\Test_Folder"))
,out "not there"
,mkdir ("$desktop$\Test_Folder")
else
,out "it is there"
It creates the directory if non existent....but also creates again if it does exist...what do I have wrong?
Posts: 12,071
Threads: 140
Joined: Dec 2002
if(!dir("file")) ;;use this for files
if(!dir("folder" 1)) ;;use this for folders
Posts: 1,000
Threads: 253
Joined: Feb 2008
Thanks...I forgot all about the flag on that....