Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Creating folders in C++

Options
  • 23-05-2005 6:14pm
    #1
    Registered Users Posts: 221 ✭✭


    Hi i want to make a programme which will read all the mp3 files in a folder and put them into folders grouped alphabeticaly by name,

    Prob: i dont know how to creat a folder from within my programme,

    also if ne one can tell me how i can distugues between file types that would be great but... baby step

    all help appriciated


Comments

  • Registered Users Posts: 131 ✭✭theexis


    If you're targetting the Windows API, the following will help you:

    FindFirstFile / FindNextFile
    CreateDirectory
    CopyFile or MoveFile

    That said, why would you not use a simple batch file for this?


Advertisement