Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: batch file scripting

Re: batch file scripting

From: Jared Still <jkstill_at_gmail.com>
Date: Thu, 20 Jul 2006 14:09:20 -0700
Message-ID: <bf46380607201409q261691ceif8a488e8ed669168@mail.gmail.com>


On 7/19/06, Steve Perry <sperry_at_sprynet.com> wrote:
>
> that only takes 2 lines :)))
>
> C:\>set f=myfile_%date:~10,4%-%date:~4,2%-%date:~7,2%
> C:\>echo %f%
> myfile_2006-07-19
>

First time I have seen that.

Clearly I need to read some up to date docs on the CMD shell next time I try to use it.

-- 
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Jul 20 2006 - 16:09:20 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US