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?
Printable View
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?
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.