Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Is NT 2000 Dos Batch Timestamp sysntax different ?
Joe Caporina wrote:
> Why is the batch file that I use with NT 4 server OS to import logs assign
> timestamps to the log not working with NT2000 Server OS?
> The log file does not change names with the date and just gets overwritten.
> cd/d d:\oracle\admin\int2000\script
> setdate >setenv.bat
> call setenv.bat
> call intexp1.bat
> sendmail -t esdbsecurity_at_alliance.com -f parsat01 -s "PARSAT01 CHECK -
> INTELATRAC" -b
> \\parsat01\d$\oracle\admin\int2000\exp\intexp%TODAY%_%HR%_%MIN%.LOG
>
What does 'setdate' do? You probably don't need 'setdate' or to create 'setenv.bat'. Just describe the results that you are trying to obtain, e.g., what is the format of '%TODAY%'?
-- t o s e n d e - m a i l u s e ' R e p l y - T o ' o r u n z i p m y ' F r o m ' a d d r e s s ....Received on Thu Oct 03 2002 - 16:56:52 CDT