Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: batch file scripting
I would be very surprised if such a site/tool existed.
Any shell script of moderate complexity would be very difficult to translate to windows batch scripting via automated facility.
What can be done with 1 or 2 lines in shell often takes many lines of code in windows.
eg. A one liner in shell. Get a filename with a date stamp.
jkstill-0 > f='myfile_'$(date +%Y-%m-%d)
jkstill-0 > echo $f
myfile_2006-07-19
Doing this in Windows requires several lines of vbscript and temporary files.
If you really need to run the shell scripts in Windows, consider using Cygwin.
Or just rewrite them.
On 7/19/06, Joe Smith <joe_dba_at_hotmail.com> wrote:
>
> Does anybody know of a site that is good for translating unix shell
> scripts
> into Windows batch files? I have two rman scripts that I want to run on a
> windows server.
>
> thanks.
>
> _________________________________________________________________
> Don't just search. Find. Check out the new MSN Search!
> http://search.msn.click-url.com/go/onm00200636ave/direct/01/
>
> --
> http://www.freelists.org/webpage/oracle-l
>
>
>
-- Jared Still Certifiable Oracle DBA and Part Time Perl Evangelist -- http://www.freelists.org/webpage/oracle-lReceived on Wed Jul 19 2006 - 12:21:41 CDT
![]() |
![]() |