How to use newline character in text in cmd batch?

后端 未结 12 1916
忘掉有多难
忘掉有多难 2020-12-31 07:08

I would like to do

svn commit -m \"\"

But message should have two lines:

Commit by: firstuser
Bug track: 92         


        
12条回答
  •  半阙折子戏
    2020-12-31 07:39

    The Problem is that "enter" (Ascii 13) sends the command. So you need a "newline"

    use alt + 10 (press alt, type the number at the numberblock, release alt)

提交回复
热议问题