Windows command prompt: how to combine Windows commands on one line

Self-tutoring about Windows command prompt: the tutor mentions a way to combine commands on one line.

Apparently,

a_command & another_command

will perform both commands if possible. Even if it can’t do the first, it will still attempt the second.

a_command && another_command

it seems, will stop if it can’t perform the first command. However, if it can perform the first it will move on to the second.

Source:

superuser.com

Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.

Leave a Reply