views:

53

answers:

2

In Linux shell, one can split a command across several lines using \. For example:

cmd \
  arg1 \
  arg2

How can I do the same using Windows console?

Thanks!

+2  A: 

Use ^

command line 1^
 line 2
nico
A: 

One can split on other common operators on unix

command line 1 &&
  line 2

command line 1 |
  line 2
pixelbeat