If you want to execute this on one line:
echo Bla-bla-bla! Let us call dir?
dir
echo More-bla-bla-bla!
shouldn't it be as simple as:
echo Bla-bla-bla! Let us call dir? & dir & echo More-bla-bla-bla!
works for me.
Search found 1 match
- 30 Jul 2008 21:20
- Forum: DOS Batch Forum
- Topic: Multiple commands per line
- Replies: 5
- Views: 17460