Md5Checker pal - SafePack Backup Script - One-click backup solution
December 11, 2007 3:33 pm | Download, Products, Usage
When you use Md5Checker, you may wonder, what should I do if I found anything broken? Can I restore it? Can I backup them easily and earlier?
There is a solution: SafePack Backup Script can backup your files with simply one double click. It will go through sub-folders recursely, only backup specified file types, will never backup any file duplicately (backup same file more than once), can set up password and compression level, and it is only 2K.
How to use:
- Copy safepack.cmd to the backup folder of your setup files, e.g. E:\Setup Files.
- (Optional) Open it using any text editor.
- (Optional) Find and edit the following code:
set _ext=*.dll;*.drv;*.exe;*.msi;*.sys;*.vxd
set _WinRAR=%ProgramFiles%\WinRAR\WinRAR.exe
set _password=password
set _compression=0
set _showLog=1
_ext - File types you want to backup. Usually executable files as they may be infected by Virus, Trojan or Worm.
_WinRAR - Full path of WinRAR. This script will call WinRAR to backup.
_password - Set up a password that makes the backup stronger. This parameter can be empty.
_compression - Set the compression level. 0 - Do not compress, fastest, 5 - The highest.
_showLog - Whether show log or not. If 1, a notepad will popup with the log. Otherwise log will be saved to file and you can check it as you want. - Run this script. All desired files will be backup automatically. File abc.xyz will be backup to abc.xyz.zip.
Note: The first run will take much longer since all files need to be backup. - After backup, all backup files will show up in the log as the following format:
- New found files: Started with +, e.g. + E:\Setup Files\Software1\abc.xyz
- Files changed since last backup: Start with *, e.g. * E:\Setup Files\Software1\abc.xyz
- Files failed to backup: Start with ?, e.g. ? E:\Setup Files\Software1\abc.xyz
- For file changed since last backup, SafePack will create a new backup and rename its last backup to filename.#.zip. For example, last backup of abc.xyz will be renamed to abc.xyz.0.zip, and a new backup abc.xyz.zip will be created.
Renaming last backup can make sure you will not delete/overwrite anything by incorrect manipulation.
After backup, you should go to its containing folder and take a look. If you did update this file, you can delete the backup of backup (e.g. abc.xyz.0.zip) safely. If it was modified by unknown program like Virus, you should delete it as well as its new backup, rename its old backup back, and restore file from it. - For file failed to backup, you should check and fix the following possible reasons:
- Could not rename last backup, target filename filename.0.zip ~ filename.9.zip already exist.
- Do not have permission to rename file.
- You can copy this customized script somewhere else you’d like to backup files.
Platform: Windows XP/2000/Server 2003
Current version: 2.0.0.2
Download: SafePack.zip, downloaded 40 times.
Limitation: Could not handle file name contains % and !. It is a limitation of windows command line script. You need to backup those files manually.
For developer: Some conditional statements do not look pretty, I have to write like that to handle file name contains ( and ).
You can use, distribute and modify this script as you want, but please do not remove the copyright info. If you’d like to improve this script, welcome link back and leave a link of yours.

