Click here to Skip to main content
11,438,007 members (48,998 online)
Click here to Skip to main content

CleanZipAndGo

, 20 May 2003
Rate this:
Please Sign up or sign in to vote.
Utility to quickly archive any project to a Zip file.
<!-- Add the rest of your HTML here -->

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<!------------------------------- That's it! --------------------------->

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Dominique Doucet
Web Developer
Canada Canada
No Biography provided

Comments and Discussions

 
GeneralCool, however major bug found... Pin
Rafal Glowinski23-Dec-04 6:20
memberRafal Glowinski23-Dec-04 6:20 
GeneralRe: Cool, however major bug found... Pin
T1TAN5-Oct-05 0:26
memberT1TAN5-Oct-05 0:26 
GeneralModified Code to Zip Without deleting Pin
srana26-May-03 19:14
membersrana26-May-03 19:14 
GeneralRe: Modified Code to Zip Without deleting Pin
Shulik28-May-03 0:29
memberShulik28-May-03 0:29 
GeneralRe: Modified Code to Zip Without deleting Pin
Shulik28-May-03 1:04
memberShulik28-May-03 1:04 
GeneralModified Code to Zip Without deleting Pin
srana26-May-03 19:12
membersrana26-May-03 19:12 
GeneralTime string format Pin
Mav Rossi21-May-03 22:49
memberMav Rossi21-May-03 22:49 
GeneralRe: Time string format Pin
Dominique Doucet22-May-03 2:31
memberDominique Doucet22-May-03 2:31 
GeneralRe: Time string format Pin
WREY2-Jun-03 6:55
memberWREY2-Jun-03 6:55 
GeneralRe: Time string format Pin
Mav Rossi3-Jun-03 0:36
memberMav Rossi3-Jun-03 0:36 
GeneralCool! Pin
Nitron21-May-03 14:04
memberNitron21-May-03 14:04 
I do this manually all the time! I'll try it out tomorrow.

- Nitron


"Those that say a task is impossible shouldn't interrupt the ones who are doing it." - Chinese Proverb


GeneralRe: Cool! Pin
dog_spawn21-May-03 17:27
memberdog_spawn21-May-03 17:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150506.1 | Last Updated 21 May 2003
Article Copyright 2003 by Dominique Doucet
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid