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@xxxxxxxxx> 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@xxxxxxxxx>
> To: "Radoulov, Dimitre" <cichomitiko@xxxxxxxxx>
> Cc: <oracle-l@xxxxxxxxxxxxx>
> 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

Other related posts: