Title: 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-----
From: Jacques Kilchoer [mailto:[EMAIL PROTECTED]
Sent: March 7, 2003 1:34 PM
To: Multiple recipients of list ORACLE-L
Subject: RE: nt script

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.

Reply via email to