Introduction
This utility cleans Visual C++ Project files (like CleanVC
utility does) and then zips all the files under the directory where CleanZipAndGo.exe
is located.
Let's say you are working on the following project: C:\MyFTPServer\MyFTPServer.dsw
.
Copy CleanZipAndGo.exe
under C:\MyFTPServer
.
To create a backup of your project and everything under C:\MyFTPServer
, double click on CleanZipAndGo.exe.
A DOS Window opens, showing you the progress.
The created file has the following format: [Directory Name]_[Time].zip
. So for the MyFTPServer
directory, the filename would be something like MyFTPServer_1052855052.zip
. The number 1052855052
is the date and time. (The time_t
value).
To get the date and time from this number, at the command prompt type: CleanZipAndGo.exe 1052855052
. It prints Archive date and time Tue May 13 15:44:12 2003
.
CleanZipAndGo
creates a file named CleanZipAndGo.txt
when it backs up a project. This file is useful when you unzip a backup file and then rename the folder name to remove the _1052855052
. The CleanZipAndGo.txt
contains the original backup filename.
The CleanVC
utility and the ZLIB library
helped me in creating this little but useful utility.
Notes:
The archive path is hard coded to
C:\Archive
.
The maximum ZIP archive file size is set to 100000000
If the Zip file is bigger, it will be split into multiple files but this has not been tested. (My project are not that big !)
History
Version 1.0: Initial release