1.

Solve : echo %name% displays echo is off message ?????

Answer»

hello

ECHO %name% displays echo is of message instead of printing the "name" to screen name is input is was like that SET /p name=enter name: Is this your CODE?

Quote

REM Displays echo is of message
set /p name=enter name:
echo %name%

Seems to work for meQuote from: emuhulk on September 10, 2009, 12:48:13 PM
actually what happens is that when put echo inside if statemet it doesnt display ANYTHING it says echo is off

if you are using parentheses you need to study delayed expansion. Search this forum or use Google.
Quote from: emuhulk on September 10, 2009, 03:52:01 AM
hello

echo %name% displays echo is of message instead of printing the "name" to screen name is input is was like that set /p name=enter name:

Maby %name% has no value or was not set properly.


Discussion

No Comment Found