Jump to content

help on How to create two subfolders.


Go to solution Solved by mikell,

Recommended Posts

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 by 232showtime

ill get to that... i still need to learn and understand a lot of codes graduated.gif

Correct answer, learn to walk before you take on that marathon.

Link to comment
Share on other sites

 

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 graduated.gif

Correct answer, learn to walk before you take on that marathon.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...