How do I get a value from the windows registry to set a variable 2005-10-12 - By Juan Carlos Reyes Pacheco
This is @(protected) 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@(protected)> 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@(protected)> > To: "Radoulov, Dimitre" <cichomitiko@(protected)> > Cc: <oracle-l@(protected)> > 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
|
|