|
|
|
|
|
|
s********z 发帖数: 5411 | 1 Hi,
I am trying to write a simple C++ routine to find and delete the folder and all the files and subdirectory under the folder.
I have attached the folder structure. I need to delete from the oldest
folder until the disk has certain free space. For example, under data folder, I need start from "20090207" folder. I can either use the folder create time or folder name to find the oldest folder.
Please help me with this. How find of functions should I use and how
implement them.
Thanks a lot!! | y****i 发帖数: 156 | |
|
|
|
|
|
|