文件名称:一个递归删除指定目录和文件的例子
介绍说明--下载内容均来自于网络,请自行研究使用
使用Visual C++编程久了,编写的工程多了,如果我们没有及时删除工作目录下的Debug或者Release目录,就会有大量的垃圾的中间文件存留在我们的系统中。占用我们大量的硬盘空间。但是,如果我们每次编译完一个工程就手动去删除这些多余的文件,是比较麻烦的一件事情。为了解决这个不便,我花了一点时间写了递归删除指定目录和文件的小工具。
-use Visual C Programming long, the preparation of the works and more, and if we did not work in time to delete the directory Debug or Release directory, there will be a lot of garbage in the middle document retention in our system. We occupy a lot of hard drive space. However, if every time we build a project on End to manually delete these unnecessary documents, the trouble is a thing. To solve this inconvenience, and I spent some time writing a recursive delete specified files and directories of small tools.
-use Visual C Programming long, the preparation of the works and more, and if we did not work in time to delete the directory Debug or Release directory, there will be a lot of garbage in the middle document retention in our system. We occupy a lot of hard drive space. However, if every time we build a project on End to manually delete these unnecessary documents, the trouble is a thing. To solve this inconvenience, and I spent some time writing a recursive delete specified files and directories of small tools.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
DelDir.cpp
DelDir.dsp
DelDir.dsw
DelDir.h
DelDir.rc
DelDirDlg.cpp
DelDirDlg.h
folder_dialog.cpp
folder_dialog.h
ReadMe.txt
res
...\DelDir.rc2
Resource.h
StdAfx.cpp
StdAfx.h
DelDir.dsp
DelDir.dsw
DelDir.h
DelDir.rc
DelDirDlg.cpp
DelDirDlg.h
folder_dialog.cpp
folder_dialog.h
ReadMe.txt
res
...\DelDir.rc2
Resource.h
StdAfx.cpp
StdAfx.h