Greetings all,

In continuing to research this problem (for me anyway) I discovered an email 
(http://www.mail-archive.com/tbudl@thebat.dutaint.com/msg89326.html) which 
contains a regex which supposedly will produce a backup which has a filename 
containing both the date and time.

With this info I proceeded in this fashion: Under TOOLS>SCHEDULER I get the 
following display:

Please note, the ACTIONS line is highlighted.
http://farm5.static.flickr.com/4076/4826693567_2b7b6893ca_b.jpg

If I right-click on the highlighted ACTION line I get this:
http://farm5.static.flickr.com/4096/4826749585_39baee5213_b.jpg

Clicking on EDIT gives me this:
http://farm5.static.flickr.com/4078/4826765417_14afdb4daf_b.jpg

Notice the "To backup file (standard)" button is selected and further notice 
the partially visible filename contained in the box.

Someone commented on the post mentioned in the above first paragraph that when 
he tried this regex, TB! produced a backup titled with a
3-or-4-digit-number.tbk.  The number preceding the ".tbk" was the time the file 
was created i.e. if the backup ran at 1105am the file name would be 1105.tbk  
He mentioned that since a scheduler by definition is always going to run at the 
same time, the backup would fail apparently because of it attempting to use the 
same filename.

I personally don't know how to use regex expressions but I was able to take the 
originally posted regex and remove the part which generated the un-needed time 
string. The resulting regex looks like this:

D:\Bat 
backup\%SETPATTREGEXP="(\d+).(\d+)\.(\d{4})"%REGEXPBLINDMATCH="%DATESHORT"%Subpatt="3"%Subpatt="2"%Subpatt="1".tbk.
 

When I told the scheduler to execute the action NOW, this is the resulting file 
as it appears on my D: drive:
http://farm5.static.flickr.com/4080/4827422984_610599fba8_b.jpg
http://farm5.static.flickr.com/4094/4827423784_9a94e312fa_b.jpg

Notice there is no actual filename but only an icon followed by .tbk. However, 
if you hover the cursor over the icon you get this:
http://farm5.static.flickr.com/4079/4827438052_79c30877ba_b.jpg
As you can see the type, date and size of the file is displayed.

I have no idea why an icon is created instead of a text string showing the date 
but I would love to know. Something in the regex perhaps?

Anyway, as a test I created a backup (today, the 25th) which resulted in an 
icon filename as mentioned, and then changed the date on my computer and 
generated another backup by the same above method.  TB!, apparently recognizing 
that the original icon filename backup was created "yesterday" (the 25th), 
overwrote it and created a new icon filename with tomorrow's date(the 26th) 
appearing in the hover.

This apparently solves my original problem and I can run with it but it sure 
would be neat if TB! created a new, different backup instead of overwriting the 
existing one.

-- 
TIA,
Jack LaRosa

Currently using The Bat! ver: 4.0.38 for now.
Running Windows XP Pro ver 5 build 2600 Service Pack 3












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

Reply via email to