B brainuee New Member Joined Jul 7, 2013 Jul 7, 2013 #1 The following code doesnt set the value of a to user input..why? Can anyone help plz... set /p a ="sdff " pause echo %a% pause
The following code doesnt set the value of a to user input..why? Can anyone help plz... set /p a ="sdff " pause echo %a% pause
Josephur Windows Forum Admin Staff member Premium Supporter Microsoft Certified Professional Joined Aug 3, 2010 Location Indiana, USA Jul 28, 2013 #2 /p is meant to take input, so if you do set /p a ="sdff " (type some data in here) echo %a% The system will prompt you with "sdff", the typed data is what %a% will be!
/p is meant to take input, so if you do set /p a ="sdff " (type some data in here) echo %a% The system will prompt you with "sdff", the typed data is what %a% will be!