Kevin,

sorry, I got notified that the .BAT file was stripped.

below is the text of the BAT file.  Simply copy it into a notepad document,
and name it TODAY.BAT

rem ************************************************
rem echo off
IF NOT '%1'=='' GOTO SetEnvVars
for /F "delims=/ tokens=1-4" %%i in ('date /t') do today.BAT %%i %%j %%k
%%l
GOTO Done
:SetEnvVars
:: set DayOfWeek=%1
set Month=%2
set Day=%3
set Year=%4
:Done
rem ************************************************



Tom Mercadante
Oracle Certified Professional

>  -----Original Message-----
> From:         Mercadante, Thomas F  
> Sent: Monday, June 18, 2001 1:47 PM
> To:   '[EMAIL PROTECTED]'
> Cc:   '[EMAIL PROTECTED]'
> Subject:      RE: NT Script
> 
> Kevin
> 
> Attached is a TODAY.BAT file that, when called, creates three
> environmental variables (Month, day and Year) for your use.
> 
> In another BAT file, simply 
> 
> call today.bat
> set export_file_name=export_%month%_%day%_%year%.dmp
> 
> exp userid=u/pw@sid file=%export_file_name%
> 
> 
> hope this helps
> 
> Tom Mercadante
> Oracle Certified Professional
> 
>  << File: today.bat >> 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Mercadante, Thomas F
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to