‘set /p variable=[prompt string]’ used to read Input from user. It prompts the user with given prompt string and assign the user entered value to the variable.
Enter first name Krishna
Enter last name Gurram
Hello Mr Krishna Gurram
You can rewrite the above application using string concatenation like below.