Windows: How to specify multiline command on command prompt?

后端 未结 4 735
Happy的楠姐
Happy的楠姐 2020-11-28 22:47

how do we extend a command to next line?

basically whats the windows alternative for linux\'s

ls -l \\
/usr/

here we use backslash

4条回答
  •  眼角桃花
    2020-11-28 23:37

    The caret character works, however the next line should not start with double quotes. e.g. this will not work:

    C:\ ^
    "SampleText" ..
    

    Start next line without double quotes (not a valid example, just to illustrate)

提交回复
热议问题