...

View Full Version : DOS help, (equivelant of linux cli ; for seperate commands)



primefalcon
02-17-2012, 01:31 AM
in bash terminals you can separate commands via ; so that you can enter a series of commands to be run sequentially.... Does anyone know if there is there any way to do this is DOS? or more specifically DOSBOX?

oracleguy
02-17-2012, 02:34 AM
first command & second command

If you care about if the first command ran successfully you can use && like in bash.

primefalcon
02-17-2012, 02:57 AM
first command & second command

If you care about if the first command ran successfully you can use && like in bash.
I actually did try that and it doesn't work, says directory name is longer than 8 characters so still counting it as the same command.... I actually thought that was a valid dos command myself.... could be a dosbox thing?

Thomas Anderson
02-20-2012, 02:04 PM
yes, you can run multiple command in cmd.exe by using the "&" Or "&&" between the two commands.
Place the '&' between the commands and you are able to run multiple commands.

primefalcon
02-21-2012, 07:19 AM
Obviously this is a feature lacking in dosbox :-(

oracleguy
02-22-2012, 04:18 AM
You could file a bug report about it: http://sourceforge.net/tracker/?atid=467232&group_id=52551&func=browse



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum