Hey guys. 
So i make a program that saves text files in one folder, but what i need is to make the file limit in folder..
For example, i have limit 200 files, and when i add a new file, how do i delete the oldest one, or if the limit is changed to 100, how do i delete all the old ones, to make the limit 100?
I hope you understand what my problem is..
Hope someone can help me..
So i make a program that saves text files in one folder, but what i need is to make the file limit in folder..
For example, i have limit 200 files, and when i add a new file, how do i delete the oldest one, or if the limit is changed to 100, how do i delete all the old ones, to make the limit 100?
I hope you understand what my problem is..
Hope someone can help me..
Last edited: