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: Steve Perry <sperry_at_sprynet.com>
Date: Sat, 22 Jul 2006 09:39:14 -0500
Message-Id: <9EF7E312-7CBD-449E-82CC-2989FCE8F326@sprynet.com>


not to violate your security policies, but I think 10g installs perl under it's home. Why not use those binaries for your perl scripts. use the find2perl (may not come with oracle's distro) and you get a "find" perl script written for your needs. I haven't tried it, but it should work.

steve

On Jul 21, 2006, at 12:12 PM, Greg Norris wrote:

> 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
>
> On a semi-related note, is there any way (using "pure" cmd.exe) to
> identify files older than say, 5 days? For example, something similar
> to "find . -name "myfile\* -mtime +5".
>
> Unfortunately I'm not allowed to add additional software, so the use
> of add-on tools like cygwin/perl/etc. simply isn't an option. :(
>
> --
> "I'm too sexy for my code." - Awk Sed Fred.
> --
> http://www.freelists.org/webpage/oracle-l
>
>

--
http://www.freelists.org/webpage/oracle-l
Received on Sat Jul 22 2006 - 09:39:14 CDT

Original text of this message

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