I am writing an application ( in QT win32 ) , I will be sending a beta version to the client , I was wondering if is possible to write a self deleting file , after a certain date it will delete it self along with depending dlls , structure of the program is a folder inside the folder is executable and depends DLLs , so I would like entire folder to be deleted , both using win32 API or standard C++ techniques are welcome.