Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Question on NT batch file syntax

Re: Question on NT batch file syntax

From: Tapan Trivedi <tapan.trivedi_at_abbnm.com>
Date: Fri, 13 Aug 1999 14:12:30 -0500
Message-ID: <37B46E1E.D5516236@abbnm.com>


I am not quite sure what you want but
Type this on a notepad

   @c:\orant\rdbms\admin\catalog.sql
   @c:\orant\rdbms\admin\catproc.sql

and save the file as .cmd file . Double click or run the file from the cmd prompt.
This should do the same trick.

                                Tapan

Miro Sarbaev wrote:
>
> Hello -
> Sorry if I am breaking any rools of netiquette by posting this -
> this question is slightly off-topic, but, I guess, not quite off-topic.
>
> There is a widely used UNIX syntax, when you pass a bunch of statements to a
> program within the same script.
> For example:
> #############################
> svrmgrl <<!
> connect sys/change_on_install;
> @$ORACLE_HOME/rdbms/admin/catalog;
> @$ORACLE_HOME/rdbms/admin/catproc;
> @$ORACLE_HOME/rdbms/admin/catparr;
> exit;
> !
> #############################
> Does anyone know if there is an NT version of the same thing, i.e.
> <executable> <<!
> <bunch of statements>
> !
> - so that one does not have to make a batch file plus a script, but rather
> keep everything in one file...
> Thank you in advance -
> Miro.

--

›1]     \\\|///          Tapan H Trivedi

> > \\ - - // Oracle Certified Professional
> > ( @ @ )
> > __oOOo-(_)-oOOo____________________________________
> > | _____ |
> > | (~._.~) |
> > |Email:thtrived_at_dcss.com _{ Y }_ |
> > |Phone:7132188133 ()_~~~_()|
> > |Pager:96047971 (_)-(_) |
> > |http://www.ba.ttu.edu/~ottri |
> > |__________________________________________________|
Received on Fri Aug 13 1999 - 14:12:30 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US