Backup your working project

Sometimes when you are working on a small project, you need to backup the files. The quickest way to do this is copy the whole project directory to a new place. That is not the best. There are files that you won't bother to backup yet you don't want to separate them out because most of the time it just doesn't make any sense.

The solution is, keep a MANIFEST file in your project directory. In this file, list the files that you want to backup, one file one line. You can use wildcard "*" in the file name to match those files that you want to keep. Then use backup.exe:

d:\myproject> backup MANIFEST
It will backup the project to a zip file, with date information on the zip file name.

Here is a sample MANIFEST file to help you understand:

utils.h
utils.cpp
resource.h
doc\*.doc
MickeyTrack.vcproj
MickeyTrack.sln
Mickey.rc
main.cpp
LOGFILE.h
LOGFILE.cpp
icon1.ico
DIBFILE.H
DIBFILE.CPP
ui.cpp
ui.h
replay.h
replay.cpp
MANIFEST

Download it. See if it can help you.