I just started programming in batch. I tried to execute the following code in a .bat file, and also in CMD directly. In either case I receive a blank space.
ECHO My name is agent Smith | SET /P Name="What is your name?"
ECHO Result is %Name%
A found this code in a book about batch programming, but does not work.
Somewhere i read that echo is in a different context, and SET /P only accepst user entered things.