Subject | Re: [firebird-support] Nightly Backup Batch File problem |
---|---|
Author | Scott Morgan |
Post date | 2005-04-03T18:53:59Z |
Johan van Zyl wrote:
'>'s are really '>' ([G]reater [T]han) and are used in HTML and XML
amongst other systems for escaping what is usually a control char (i.e.
part of a HTML tag like <P> for example).
Thus your example becomes:
Date /T >> %BATLOGFILE%
Time /T >> %BATLOGFILE%
gfix -shut -attach 30 C:\realcorp\firebird\data\employee.fdb -user
SYSDBA -pass masterkey 2> errout.tmp
Except I don't think DOS/Nt's CMD.EXE supports '2>'.
Scott
>http://firebird.sourceforge.net/index.php?op=usefulLooks like you picked up the commands from a broken web page. The
>Each and every instance of gt results in errors!
>What is the purpose of gt and can it be ignored?
>samples are:
>Date /T >> %BATLOGFILE%
>Time /T >> %BATLOGFILE%
>
>gfix -shut -attach 30 C:\realcorp\firebird\data\employee.fdb -user
>SYSDBA -pass masterkey 2> errout.tmp
>
>
'>'s are really '>' ([G]reater [T]han) and are used in HTML and XML
amongst other systems for escaping what is usually a control char (i.e.
part of a HTML tag like <P> for example).
Thus your example becomes:
Date /T >> %BATLOGFILE%
Time /T >> %BATLOGFILE%
gfix -shut -attach 30 C:\realcorp\firebird\data\employee.fdb -user
SYSDBA -pass masterkey 2> errout.tmp
Except I don't think DOS/Nt's CMD.EXE supports '2>'.
Scott