orpsys Posted October 9, 2017 Share Posted October 9, 2017 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\ DirCreate($sFldr3) my question is how do i take the selected location and create new folders in this selected location using dir create thanks Link to comment Share on other sites More sharing options...
1957classic Posted October 9, 2017 Share Posted October 9, 2017 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.") Else DirCreate($sFileSelectFolder & "\Test1\Folder1\Folder2") EndIf Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now