232showtime Posted March 23, 2015 Share Posted March 23, 2015 (edited) please can someone help me with this I want to create two subfolders using single button, but having trouble with DirCreate, I dont know how to create the 2nd subfolder(Folder2) Example() Func Example() Local $sFldrA = "C:\qqqq\" Local $sFldrB = "C:\qqqq\Folder1\" DirCreate($sFldrB) EndFunc ;==>Example Edited March 23, 2015 by 232showtime ill get to that... i still need to learn and understand a lot of codes Correct answer, learn to walk before you take on that marathon. Link to comment Share on other sites More sharing options...
Solution mikell Posted March 23, 2015 Solution Share Posted March 23, 2015 This function will also create all parent directories given in "path" if they do not already exist.(helpfile) DirCreate("C:\Test1\Folder1\Folder2\") DirCreate("C:\Test1\Folder1\Folder3\") Link to comment Share on other sites More sharing options...
232showtime Posted March 23, 2015 Author Share Posted March 23, 2015 This function will also create all parent directories given in "path" if they do not already exist.(helpfile) DirCreate("C:\Test1\Folder1\Folder2\") DirCreate("C:\Test1\Folder1\Folder3\") that was pretty easy. thanks ill get to that... i still need to learn and understand a lot of codes Correct answer, learn to walk before you take on that marathon. 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