Cleaning up after program opens file
Hi,
I am trying to portablize a program. Everything is working fine, but for one thing. The program creates a file in the directory it opens a file from. So, lets say I open folder1\blah.ext the program will create "file.ext" in that folder. If I open a new file in let's say folder2\blahblah.ext it will create a new "file.ext" in that directory as well.
My question is how can I clean up those files on the exit of the program.
Thank you for the help.
- Read more about Cleaning up after program opens file
- 4 comments
- Log in or register to post comments