1.

Solve : Can a prompt for set /p be placed at the end of a line of text??

Answer»

In XP, the CHOICE COMMAND no longer exists. I have set /P.

I can't add EXTERNAL commands to the computer, so I'm stuck with the default.

With choice, I can have the prompt displayed at the end of a line of text.

Example:
Code: [SELECT]choice /c:qnp /n /m "Please choose- "
Can I get the exact same functionality using set /p in XP?You can do this

Code: [Select]set /p answer="Please choose- "
but you will not get the "exact same funcionality" since choice responds to a single key press but set /p responds to a string of zero or more characters plus ENTER.





Discussion

No Comment Found