[windows2000] Escape character or something in batch files?

  • From: "Costanzo, Ray" <rcostanzo@xxxxxxxxxxx>
  • To: "'windows2000@xxxxxxxxxxxxx'" <windows2000@xxxxxxxxxxxxx>
  • Date: Tue, 8 Oct 2002 16:48:50 -0400

Hi list,

Is there any kind of an escape character in batch file "programming" or
anything, like the way there is in things like Javascript where you precede
certain characters with a \ so they're taken the right way?  My batch has
this line in it:


The problem is that %FIND_RESULT% looks like this:


So, the batch interpreter gets confused by the = sign in there when it tries
to compare.  At least that's what it seems like it's doing, because I get:

=MACRO was unexpected at this time.

I don't think I'm really looking for an escape character here as much as I'm
looking for a way that I can make it not confused by the = sign.

Thanks a lot

Ray at work

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.


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


Other related posts: