简体   繁体   中英

Multiline prompt in batch file

I need to create multiple line prompt.

set /p choice="Press '1' for start host; Press '0' for exit;"

Output should be:

Press '1' for start host;
Press '0' for exit;

How it is possible?

Echo Press '1' for start host;
set /p choice="Press '0' for exit;"

is probably simplest

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM