Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: nt script
Do yourself a favour - resist temptation of even considering DOS batch
"language" (as it is nothing more than a horrid pile of I-won't-say-what;-)
Better choice is WSH and VBScript or JScript. Windows Scripting Host comes with every IE - therefore every Windows machine. Should you go this way keep on mind that you will be painting yourself (using M$ proprietary paints) in corner with your own hands.
It makes the most sense to choose cross platform scripting language then use it wherever you go. Down side - you'd have to ensure this particular scripting environment is installed on all platforms/systems you support.
Python and Perl are two mature beasts that pack (more than) enough power, and yet are platform agnostic. Worth learning? You bet.
Branimir
-----Original Message-----
Sent: March 7, 2003 1:34 PM
To: Multiple recipients of list ORACLE-L
Can anyone recommend a book / website on the DOS batch file language? I usually try to install cygwin and write shell scripts but some of our database servers don't have cygwin.
For example, I have no idea what this statement does: FOR /F "TOKENS=1,2*" %%A IN ('DATE/T') DO SET DATE=%%B and when I tried it I received an error H:\>FOR /F "TOKENS=1,2*" %%A IN ('DATE/T') DO SET DATE=%%B %%A was unexpected at this time.
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Branimir Petrovic
INET: BranimirP_at_cpas.com
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (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). Received on Fri Mar 07 2003 - 13:55:12 CST
![]() |
![]() |