Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Create Directory if not exist
#1
Can't seem to get this to work right.
Function Create_Directory
Code:
Copy      Help
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?


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)