22
8
I'm trying to execute a command on cmd.exe
, with a line break or new line as part of the command, like below:
command -option:text
whatever
But every new line executes the command, instead of continuing the command on the next line.
So how can I input a new line character, or create a multi-line command in cmd.exe?
Possible duplicate of How do I do single command line command on multiple lines in windows?
– phuclv – 2018-10-20T15:21:38.777Long commands split over multiple lines in Windows Vista batch (.bat) file – phuclv – 2018-10-20T15:22:04.640