[windows2000] Re: Case sensitivity at cmd.exe

  • From: "Sullivan, Glenn" <GSullivan@xxxxxxxxxxxxxx>
  • To: "'windows2000@xxxxxxxxxxxxx'" <windows2000@xxxxxxxxxxxxx>
  • Date: Fri, 16 May 2003 07:07:59 -0400

And I'm ashamed that I did enter /? and didn't see it.

At least YOU aren't blind Ray...

Glenn Sullivan, MCSE+I  MCDBA
David Clark Company Inc.


-----Original Message-----
From: Costanzo, Ray [mailto:rcostanzo@xxxxxxxxxxx]
Sent: Thursday, May 15, 2003 4:13 PM
To: windows2000@xxxxxxxxxxxxx
Subject: [windows2000] Re: Case sensitivity at cmd.exe



"and the /I switch, if specified, says to do case insensitive string
compares. "

Thank you Dan!  I'm ashamed for not entering if /? now.  Thanks a lot.

Ray at work

> -----Original Message-----
> From: Dan Manell [mailto:dan.manell@xxxxxxxxx]=20
>=20
>=20
>=20
>=20
> > Hi list,
> >=20
> > Does anyone know how I can get string comparisons to be=20
> > non-case-sensitive?  For example:
> >=20
> > If {a} EQU {A} net send ray test
> > (or
> > If {a}=3D3D=3D3D{A} net send ray test
> > )
> >=20
> > a and A are not equal.  I do not see a switch I can use=20
> when I launch=20
> > cmd.exe to change this or anything.  Is this just the way it is, or=20
> > can I do something about it?
>=20
> Checking help on IF tells me this:
>=20
> "If Command Extensions are enabled IF changes as follows:
>=20
>     IF [/I] string1 compare-op string2 command
>     IF CMDEXTVERSION number command
>     IF DEFINED variable command
>=20
> where compare-op may be one of:
>=20
>     EQU - equal
>     NEQ - not equal
>     LSS - less than
>     LEQ - less than or equal
>     GTR - greater than
>     GEQ - greater than or equal
>=20
> and the /I switch, if specified, says to do case insensitive=20


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


==================================
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm

==================================
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm

Other related posts: