How to split double quoted line into multiple lines in Windows batch file?

后端 未结 5 1647

Long commands in Windows batch files can be split to multiple lines by using the ^ as mentioned in Long commands split over multiple lines in Windows Vista batc

5条回答
  •  半阙折子戏
    2020-11-30 04:49

    If you want to add blank lines then ensure you have a space BEFORE the ^ on the 2nd line

    echo Hello world^ ^ Have a good day !

提交回复
热议问题