Is it possible to create a line break after a set /P
command? I would like the user to be able to type on a new (blank) line instead of next to the existing prompt. For example:
set /P test=type now
echo %test%
This code simply lets the user type next to the prompt.
If you want input on the following line, just use:
echo type now
set /p test=
echo %test%
The echo
will output the prompt including the newline, then you just use set /p
with no prompt.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With