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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: How do I get a value from the windows registry to set a variable

Re: How do I get a value from the windows registry to set a variable

From: Juan Carlos Reyes Pacheco <juancarlosreyesp_at_gmail.com>
Date: Wed, 12 Oct 2005 16:38:37 -0400
Message-ID: <cd4305c10510121338j139f1379n933d5295d7a6fd88@mail.gmail.com>


This is
@ECHO ON

IF '%1'=='' ECHO YOU DIDN'T INCLUDE THE PARAMETER
IF '%1'=='' PAUSE
IF '%1'=='' EXIT

If you dont send the parameter, the bat closes and

On 10/12/05, Radoulov, Dimitre <cichomitiko_at_gmail.com> wrote:
>
> May be something like this:
>
> set L_VAR=%1
> if defined L_VAR (<run_the_batch>) else (exit)
>
>
> Regards,
> Dimitre
>
>
> ----- Original Message -----
> From: "Juan Carlos Reyes Pacheco" <juancarlosreyesp_at_gmail.com>
> To: "Radoulov, Dimitre" <cichomitiko_at_gmail.com>
> Cc: <oracle-l_at_freelists.org>
> Sent: Wednesday, October 12, 2005 6:21 PM
> Subject: Re: How do I get a value from the windows registry to set a
> variable
>
>
> Dimitre,please, could you, If I'm not abusing ofr your time,
> How can I stop a batch process if parameter %1 is null.
> Sorry for being so lazy. :)
>
>

--
Oracle Certified Profesional 9i 10g
Orace Certified Professional Developer 6i

8 years of experience in Oracle 7,8i,9i,10g and developer 6i
--
http://www.freelists.org/webpage/oracle-l
Received on Wed Oct 12 2005 - 15:42:56 CDT

Original text of this message

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