Put 3 commands on 1 command line in DOS

Put 3 commands on 1 command line in DOS

Post by Jochen Kal » Sun, 10 Aug 2003 00:25:55



Why not use

cmd /c mybatch.cmd

and in "mybatch.cmd" you write:
dir
dir/od
dir/on


--
Greetings
Jochen

Do you need a memory-leak finder ?
http://www.yqcomputer.com/
 
 
 

Put 3 commands on 1 command line in DOS

Post by lallou » Sun, 10 Aug 2003 16:24:23

Adding to Carl's suggestion:

You can escape the '&' using the '^' as in:

Edit a^&b.txt - this will create file 'a&b.txt'

Regards,
Elias