11g rcuJDBCEngine Patch Script in Windows Question

From: Taylor, Chris David <ChrisDavid.Taylor_at_ingrambarge.com>
Date: Mon, 31 Oct 2011 14:46:28 -0500
Message-ID: <C5533BD628A9524496D63801704AE56D6A332F0D07_at_SPOBMEXC14.adprod.directory>

In the patch readme (for patch 10388644 specifically) there is a script to run and Oracle didn't provide the Windows equivalent and I wanted to bounce something off the list here: Here's the original script:
$ORACLE_HOME/bin/rcuJDBCEngine sys/<password for sys>_at_<host>:<port>:<SID> JDBC_SCRIPT post_install_script.sql $PWD $ORACLE_HOME

I think the script should in Windows should be:
%ORACLE_HOME%\bin\rcuJDBCEngine sys/oracle46_at_spobmoracl01v01.adprod.directory:1521:GRID11G JDBC_SCRIPT post_install_script.sql %CD% %ORACLE_HOME%

(notice the %CD% in place of the $PWD)

%PWD% in Windows is nothing, it's not set typically. %CD% though prints current (or working) directory in Windows.

What say ye?

Chris Taylor
Sr. Oracle DBA
Ingram Barge Company
Nashville, TN 37205

"Quality is never an accident; it is always the result of intelligent effort." -- John Ruskin (English Writer 1819-1900)

CONFIDENTIALITY NOTICE: This e-mail and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and delete the contents of this message without disclosing the contents to anyone, using them for any purpose, or storing or copying the information on any medium.

Received on Mon Oct 31 2011 - 14:46:28 CDT

Original text of this message