On Thu, 22 Feb 2001,John Dailey scribbled on the wall in glitter crayon:


->so I do not have to manually type in the password?  Here's the command:
->
->rexec nt_machine -l user e:\\top_dir\\ev00_07\\run\\batch_script.bat

have you tried:
rexec nt_machine -l user e:\\top_dir\\ev00_07\\run\\batch_script.bat << !!
password
!!

this works in ksh for sure, in bash i think and may work in sh too, but i don't
use sh that often.  note that the !! *MUST* start in position 1 and be on a line
by itself.

--
Bill Thater             Certified ORACLE DBA
Telergy, Inc.            [EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You gotta program like you don't need the money,
You gotta compile like you'll never get hurt,
You gotta run like there's nobody watching,
It's gotta come from the heart if you want it to work.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There are always at least two ways to program the same thing.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Thater, William
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (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).

Reply via email to