IF Batch Command No Longer Works in 2000?

  • Thread starter Thread starter rmercer
  • Start date Start date
R

rmercer

Has anyone experience this..
A dos batch command that I've been using for years no
longer works in Win2k.
if %1 == " " GOTO SOMELABEL
When you run this batch you get an error..
== was unexpected at this time.
Yet I've been using this batch for years...
Anyone have a clue why this would no longer work??
Thanks
 
Has anyone experience this..
A dos batch command that I've been using for years no
longer works in Win2k.
if %1 == " " GOTO SOMELABEL
When you run this batch you get an error..
== was unexpected at this time.
Yet I've been using this batch for years...
Anyone have a clue why this would no longer work??
Thanks

Try

if "%1" == "" ....
 
Thanks.. that did it.
-----Original Message-----


Try

if "%1" == "" ....


--
Phil Robyn
Univ. of California, Berkeley

u n z i p m y a d d r e s s t o s e n d e - m a i l
.
 
Back
Top