Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: How do I get a value from the windows registry to set a variable
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-lReceived on Wed Oct 12 2005 - 15:42:56 CDT
![]() |
![]() |