Jump to content

selecting file location

Recommended Posts


hi all,

i am trying to write a script to create folders in a user specified location.

i am using the FileSelectFolder function to get the location (based on the help example )and dircreate to make the folder.

 Local $sFldr3 = "SELECTED LOCATION \Test1\Folder1\Folder2\


my question is how do i take the selected location and create new folders in this selected location using dir create



Share this post

Link to post
Share on other sites

If I understand the question right, you want to add the folders to an existing folder...

#include <MsgBoxConstants.au3>

    $sFileSelectFolder = FileSelectFolder("Select a folder", "")
    If @error Then
        MsgBox($MB_SYSTEMMODAL, "", "No folder was selected.")
        DirCreate($sFileSelectFolder & "\Test1\Folder1\Folder2")



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