|
-
Mar 10th, 2011, 05:22 PM
#1
Thread Starter
New Member
Check if a folder exit
If Dir(App.Path & ("\photos\Temp")) = "" Then MkDir (App.Path & ("\photos\Temp"))
this is my line. now if the folder do not exit will make a new one
but he don't
what's wrong?
-
Mar 10th, 2011, 05:40 PM
#2
Re: Check if a folder exit
MkDir function cannot create nested folders - you'll have to create parent folder (photos) first and then subfolder (Temp).
However, there is way to accomplish that via windows api. Read my reply in this thread.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|