Hello Adam,

Sunday, May 16, 2004, 1:51:21 PM, Adam wrote:

... <snip>

GS>> If TB has no way to call a batch file on exit, does anybody know how to
GS>> create this functionality?

A> No problem. TB is just one program in your batch file. Put it at the
A> top, and the rest of the commands will run along after.

I want to run the batch file AFTER TB exits not after I start TB.

A> What was the Subject of the original discussion on Tbot?

Re: c0t0d0s0, WAS: Re: EULAs etc...

per mid:[EMAIL PROTECTED]

GS>> =======================Incremental b/u
GS>> TB.Bat========================>>
GS>> Path C:\Windows;C:\Program Files\7-ZIP;C:\Program Files\The Bat!
GS>> regedit /e "X:\TBArchives\tbreg.reg" hkey_current_user\software\rit
GS>> copy X:\TBArchives\tbreg.reg

A> This can't be from a working batch file. Since many of your pathnames
A> are not quoted. So the later ones should fail.

You are correct on the "copy X:\TBArchives\tbreg.reg" everything else
seems to be working fine.

GS>> @Echo off
GS>> Echo  ************************************************
GS>> Echo  * !!  Updating Backup Archive of TB-Mail    !! *
GS>> Echo  *      Mail located in X:\AppsBase\MAIL        *
GS>> Echo  *   (Mail Base is X:\TBArchives\tbMail7z.7z)   *
GS>> Echo  ************************************************
GS>> x:
GS>> cd x:\
GS>> 7z u -ms=off x:\TBArchives\tbMail_X_7z.7z -up0q0r2x1y2z1w2 "AppsBase\MAIL\*" -r

A> What would be the meaning of this part        ^^^^?

Those are all the switches in 7-Zip command line to do the incremental
backup. See the help file subjects of "u (Update) command" and "-u
(Update options) switch". Works great. To test I've completely wiped my
system and completely restored TB in minutes.

-- 
Best Regards,
Greg Strong   

Using The Bat! v2.11 Beta/5 on Windows XP 5.1 Build 2600 Service Pack 1

Quoting Abe Lincoln: You can please all the people some of the time,
some of the people all of the time, but not all the people all of the
time.


________________________________________________
Current version is 2.10.03 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to