RE: how to generate unique file names on Windows.

2003-09-30 Thread Bob Metelsky
This adds the time in fractions... ## uniquefile.bat## @echo off for /f tokens=2,3,4 delims=/ %%a in ('date /t') do set pre=%%a%%b%%c_ FOR /F TOKENS=5-8 DELIMS=:. %%F IN ('ECHO.^|TIME') DO ( SET Hour=%%F SET Mins=%%G SET Secs=%%H SET Mill=%%I) set

Re: how to generate unique file names on Windows.

2003-09-24 Thread Wolfgang Breitling
for /F tokens=2,3,4 delims=/ %I in ('date /t') do @set today=%K-%I-%J example: c:\date /t Wed 09/24/2003 c:\for /F tokens=2,3,4 delims=/ %I in ('date /t') do @set today=%K-%I-%J c:\echo %TODAY% 2003-09-24 c:\ At 09:44 AM 9/24/2003 -0800, you wrote: Hello, I am trying to write a script on

RE: how to generate unique file names on Windows.

2003-09-24 Thread Khedr, Waleed
You can use sqlplus to generate the script for you. -Original Message- [mailto:Murali_Pavuloori/[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 1:45 PM To: Multiple recipients of list ORACLE-L Hello, I am trying to write a script on windows that would export the db every night.

RE: how to generate unique file names on Windows.

2003-09-24 Thread Jamadagni, Rajendra
Title: RE: how to generate unique file names on Windows. IIRC (this is from memory) type somefile.bat for /f tokens=1-4 delims=/ %%a in ('date /t') do set newdate=%%b%%c%%d rename abc.txt abc.txt_%newdate% this will append mmdd to the file but it will work in batch file only. Raj

RE: how to generate unique file names on Windows.

2003-09-24 Thread Branimir Petrovic
-Original Message- From: Murali_Pavuloori/[EMAIL PROTECTED] [mailto:Murali_Pavuloori/[EMAIL PROTECTED] Sent: September 24, 2003 1:45 PM To: Multiple recipients of list ORACLE-L Subject: how to generate unique file names on Windows. Hello, I am trying to write a script on

Re: how to generate unique file names on Windows.

2003-09-24 Thread Jared . Still
And people say Perl is cryptic. Wolfgang Breitling [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 09/24/2003 11:59 AM Please respond to ORACLE-L To:Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject:Re: how to generate unique file names