本文介绍了应用程序如何在C ++中删除自身及其包含的文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在创建一个卸载程序,它会删除一些文件及其自身。它还需要删除放置它的文件夹。我正在使用C ++ for Windows开发卸载程序。
我找到了删除文件夹和文件的方法但是我找不到删除应用程序本身的方法还删除包含它的文件夹。
任何人都可以指导我如何实现这个目标?
谢谢
解决方案
Hi,
I am creating an uninstaller which will delete some files and itself. It also needs to delete the folder in which it is placed. I am developing the uninstaller in C++ for Windows only.
I have found methods to delete folders and files but I am not able to find method which deletes the application itself and also deletes the folder that contains it.
Can anyone please guide me how can I achieve this??
Thanks
解决方案
这篇关于应用程序如何在C ++中删除自身及其包含的文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!