1

In linux I can use newlines in commands using the backslash in order to improve readability in shell scripts etc:

ls -l \
   --reverse \
   --human-readable \
   --full-time

Is this possible in DOS?

thanks

cherouvim
  • 794
  • 3
  • 21
  • 37

1 Answers1

7

When you say "DOS" I assume you mean Windows CMD shell. You can use the caret as a line continuation character.

ECHO hello ^
     world
Dennis Williamson
  • 62,149
  • 16
  • 116
  • 151