26

Is it possible to have mutliple lines in command line (CMD)? Something like

"C:\Program Files\WinRAR\WinRAR.exe" a 
aaa.txt.hpp, 
bbb.txt, 
ccc.txt

instead of

"C:\Program Files\WinRAR\WinRAR.exe" a aaa.txt.hpp, bbb.txt, ccc.txt
sleske
  • 23,525
vico
  • 2,811

1 Answers1

31

Is it possible to have multiple lines in command line?

Yes, you can do this by escaping the EOL character, like so:

"C:\Program Files\WinRAR\WinRAR.exe" a ^
aaa.txt.hpp, ^
bbb.txt, ^
ccc.txt

where ^ is the escape character.


Further Reading

DavidPostill
  • 162,382