更新时间:2023-12-04 14:02:04
使用设置和 / P> / code>参数您可以在不换行回应:
设置
/ P> / code>参数您可以在不换行回应:
Using set and the /p parameter you can echo without newline:
set
/p
C:\> echo Hello World Hello World C:\> echo|set /p=Hello World Hello World C:\>
Source
Windows批处理:无回声新行
Windows批处理:echo没有新行
在 Windows 中无需回车 (CR) 将新行打印到文本文件
如何删除批处理文件中的新行?
在文本文件中添加新行与Windows批处理文件
Windows批处理文件来回应特定的行号
自动从批处理文件运行方式回应
Windows任务计划程序无法启动批处理文件任务
Windows批处理:读取XML格式化一个很长的行
如何使用Windows批处理脚本获取文件最后一行中的最后一个单词?