Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Regular Coder primefalcon's Avatar
    Join Date
    Aug 2008
    Location
    /home/primefalcon/
    Posts
    678
    Thanks
    8
    Thanked 39 Times in 39 Posts

    DOS help, (equivelant of linux cli ; for seperate commands)

    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?

  • #2
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    first command & second command

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

  • #3
    Regular Coder primefalcon's Avatar
    Join Date
    Aug 2008
    Location
    /home/primefalcon/
    Posts
    678
    Thanks
    8
    Thanked 39 Times in 39 Posts
    Quote Originally Posted by oracleguy View Post
    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?

  • #4
    New to the CF scene
    Join Date
    Feb 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #5
    Regular Coder primefalcon's Avatar
    Join Date
    Aug 2008
    Location
    /home/primefalcon/
    Posts
    678
    Thanks
    8
    Thanked 39 Times in 39 Posts
    Obviously this is a feature lacking in dosbox :-(

  • #6
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    You could file a bug report about it: http://sourceforge.net/tracker/?atid...51&func=browse
    OracleGuy


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •