Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: batch file scripting
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-lReceived on Thu Jul 20 2006 - 16:09:20 CDT
![]() |
![]() |