An app that I'm working on needs to save files in a catalogue. Somtimes the catalouge does not exist. How do I create catalouges if they aren't already made?
Printable View
An app that I'm working on needs to save files in a catalogue. Somtimes the catalouge does not exist. How do I create catalouges if they aren't already made?
What's a catalogue? Is it a folder/directory?
In that case you use dir and mkdir as follows:
Code:if len(dir(dirpath,vbdirectory))=0 then mkdir dirpath
Thanks kedaman! I meant a directory, couldn't find the word for it. Sorry and thanks!!