File Generation Builder
This .bat
file allows you to keep up to 35 generations of any file. The inputs to this .bat script
are: %1 = path where the file is located %2 = the file name without the extension %3 the
number of generations to keep and %4 = the file extension of the file to be backed-up.
For example to keep 10 generations of
c:\directory\somerpt.txt run this script with:
c:\diretory somerpt 010 txt
If the c:\directory\somerpt.txt file is found it will be
renamed to .001 and each generation file will be renamed to increase by one. File 001 will
become 002, 002 will become 003 etc.
Copyright © 2002 Booshway Enterprises,
Inc.
You have a royalty-free right to use, modify, reproduce and distribute the Sample
Application Files (and/or any modified version) in any way you find useful, provided that
you agree that The Booshway Enterprises, Inc. has no warranty, obligations or liability. |