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

link|improve this question

71% accept rate
feedback

1 Answer

up vote 7 down vote accepted

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

ECHO hello ^
     world
link|improve this answer
Yes I meant CMD shell. Superb! thanks. – cherouvim Sep 22 '10 at 11:39
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.