Create a folder within a java program.
I currently have a large file that I want to seperate into (20) different files, which are then seperated by different criteria into more (3+) files. As you can see, this results in over 80 files in one place. If I could, I would like to seperate these files into folders for organization.
The reading and writing runs fine, the only problem is that I have no idea how to create folders without manually creating them beforehand. Is there any way to do this within the program?
If it matters, this is in command prompt in JCreator. I am using a Scanner and a BufferredWriter.
If this is in the wrong place or has been answered already, sorry; I'm new, and I couldn't find the topic elsewhere.