Hi
I am sure this has been asked a million time but couldn’t actually find it in the search.
I have used the dll from Marcus and it all works. The note even says it created the folder but no folder was created. I am using the stock standard code from Marcus in a button.
[IButton,“New folder”,
//the full path to the new folder
[VarSet,folderName,“C:/whatever folder here”]
[MessageOK,folderName]
[VarSet,folderExists,[FileExecute,[Var,dllPath],“FolderExists”,folderName]]
[If,folderExists,
[Note,“Folder exists. Operation cancelled.”,3]
[Exit]
,//else no folder
[VarSet,err,[FileExecute,[Var,dllPath],“MakeFolder”,folderName]]
[If,err,[Note,“An error occurred.”,2],[Note,“Folder created”,2]]
] // if statemen close
] // button close