Hello otherwise you can do everything with <windows.h> as I started to do, instead of reading the file or the file title delimit a variable for the number of files and add one to each new file. This is what I started to search for files but it will be easy to adapt it to what you want to do: http://www.cplusplus.com/forum/beginner/272346/