Jump to content
Sign in to follow this  

Create directory structure

Recommended Posts

Hi, i'd like to know ho to create subofolder of subfolder in autoit.

Example, i have a starting path:


And i want to add three subdirectory, example with the same name:


I need to use DirCreate in a loop, but i don't know where to start for make the subdir maybe is more easy then seems

Share this post

Link to post
Share on other sites

Quote from the helpfile:


Remarks This function will also create all parent directories given in "path" if they do not already exist.



SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
Live for the present,
Dream of the future,
Learn from the past.

Share this post

Link to post
Share on other sites

You can start from a high level if you need to:


This will create the folder Test, the subfolder Test1, the sub-subfolder Test2, and the sub-sub-subfolder Test3, all with a single line.


Edit: Too slow :)

Edited by JLogan3o13

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...