Hallo Thomas,

On Tue, 24 Jan 2006 02:53:40 -0300GMT (24-1-2006, 6:53 +0100, where I
live), you wrote:

RO>>>   Does anybody know how to give them proper alternating names?
RO>>>   Something like the date as in YYYYMMDD.

TM> Put this string in 'To backup file' and modify the path.

TM> 
C:\yourpath\%SETPATTREGEXP="(\d+).(\d+)\.(\d{4})"%REGEXPBLINDMATCH="%DATESHORT"%Subpatt="3"%Subpatt="2"%Subpatt="1"%SETPATTREGEXP="(\d+)\:(\d+)"%REGEXPBLINDMATCH="%TIME"%Subpatt="1"%Subpatt="2".TBK

Unfortunately this regexp gives me the creation time as filename
instead of the creation date and as the nature of a schedule is that
it's executed at the same time.
But thanks anyway, since you gave me the idea how easy it really was.
(I'd never thought of using macros in the filename.)
But this does what I want:

D:\backups\thebat\%DATE="YYYYMMDD".tbk

-- 
Groetjes, Roelof

It's not a bug. It's a seldom used hidden feature.

The Bat! 3.65.04
Windows XP 5.1 Build 2600 Service Pack 2
1 pop3 account, server on LAN
OTFE enabled
P4 3GHz
2 GB RAM

Attachment: pgpAXEAz9tVEG.pgp
Description: PGP signature

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

Reply via email to