dcsimg

How do I create directories in the local file system?

John Zukowski

The File class includes mkdir() and mkdirs() methods that should help you. mkdir() will only make the file as a directory, at the last level. What mkdirs() does is create all parent directories, too, if they do not exist.

About | Sitemap | Contact
×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.