Folder Maker is a simple C++ program that helps you create folders in a specified directory. The program supports generating folders with:
- Uppercase letters (A-Z)
- Lowercase letters (a-z)
- Numeric sequence (1-N)
- Customizable Folder Path: Set your desired folder path by updating the
pathvariable. - Flexible Folder Types: Choose from three folder types:
- A-Z (uppercase letters)
- a-z (lowercase letters)
- 1 to a user-defined number (numeric sequence)
- User-Friendly Console Options: The program guides you through selecting the desired option and inputting parameters.
- C++17 or later (for
<filesystem>support) - A compiler that supports C++17 (e.g., GCC, Clang, MSVC)
git clone https://github.com/aydakikio/FolderMaker.git
cd FolderMakerReplace the PATH in the path variable with the absolute path to the parent folder where you want to create subfolders.
std::string path = "PATH"; // Example: "C:/Users/YourName/Documents/"Use a C++ compiler to compile the code. For example, with GCC:
g++ -std=c++17 Folder_Maker.cpp -o Folder_Maker Execute the compiled program:
./Folder_MakerWhen you run the program, you will see the following options:
########################## Folder Maker ##########################
Please enter one of these options:
0 : Creating A-Z folders
1 : Creating a-z folders
2 : Creating 1-number folders
This option creates folders named A, B, ..., Z in the specified parent folder.
This option creates folders named a, b, ..., z in the specified parent folder.
This option creates folders numbered from 1 to the user-defined number in the specified parent folder.
Example:
Option: 2
Please enter the number of folders that you want: 10
Creating folders ... Please Wait!
Creates folders 1, 2, ..., 10.
The program will display error messages for invalid inputs, such as non-numeric folder counts or unsupported options.
- Ensure the specified path exists and you have permission to write to it.
- The program does not handle duplicate folder names; existing folders with the same name will not be overwritten.
Contributions are welcome! If you encounter issues or have feature suggestions, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.