Windows batch: echo without new line

后端 未结 18 1672
失恋的感觉
失恋的感觉 2020-11-22 04:01

What is the Windows batch equivalent of the Linux shell command echo -n which suppresses the newline at the end of the output?

The idea is to write on t

18条回答
  •  一个人的身影
    2020-11-22 04:55

    I believe there's no such option. Alternatively you can try this

    set text=Hello
    set text=%text% world
    echo %text%
    

提交回复
热议问题