answersLogoWhite

0

Yes, but you will need to enclose the string in quotes on both sides of the ==. For example...

@ECHO OFF

SET M=Firstname Surname

IF "%M%"=="Firstname Surname" (ECHO It works!) ELSE ECHO Failure!

PAUSE

EXIT

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

The statement Love's tender arrow is an example of a?

It is an example of a metaphor. It means falling in love gently, not falling hard.


Can you provide an example of a necessary truth?

A necessary truth is a statement that is true in all possible circumstances. An example of a necessary truth is "224." This statement will always be true, regardless of any circumstances or conditions.


What is a ratio that compares two numbers?

The ratio that compares two numbers is a FRACTION. For example, the ratio of 3:5 can be written as 3/5.


What is an example of a statement that is accepted without proof in geometry?

It is possible to draw a straight line from any point to any other point.


Example of an statement conjunction statement?

example of contrapositive


What is a database union?

In SQL (the Structured Query Language), the language used to access databases, a UNION is the joining of several unrelated queries into a single result set. As a trivial example: SELECT FirstName, LastName FROM Contacts UNION SELECT FirstName, LastName FROM Leads In this case, you are looking for all contacts' and leads' first names and last names.


What is an example of a prejudicial statement?

A positive prejudicial statement is a statement that relies on stereotypes, but does not say anything negative about the group. For example, saying Asians are good at math would be a positive prejudicial statement.


Explain with suitable example how switch statement is differ from if statement?

www.assignmentsclub.com


A particular example or instance of a statement that makes a statement false?

Counterexample


What is mathematical comparison statements?

A comparison statement is just what it sounds like. it compares two or more things in a statement. Example: Hermione is 3 inches shorter than Ron and Luna. or the 3rd hour math class is harder than the 1st and 5th hour math classes. You are probably thinking that this is a comparison statement that should be used in language, not math, but in reality the only difference between the two is the data put into them.


What is an example of a positive prejudicial statement?

A positive prejudicial statement is a statement that relies on stereotypes, but does not say anything negative about the group. For example, saying Asians are good at math would be a positive prejudicial statement.


What are two numbers that add up to 44?

It is a mathematical statement with infinitely many possible solutions:For example, 1 + 43 or 1.23 + 42.77