If you’re like me, you often want to do a couple things while you’re at the command prompt, but those couple things might be dependant upon the completion of one before the starting of the other.
In the past I’ve simply sent one command, gone away for a while, then sent the next. This will result in wasted time (even if I’m right there next to the computer and type in the next command as soon as the first one finishes).
For example, if I want to release and renew my IP address, I have to issue two commands:
- ipconfig /release
- ipconfig /renew
That’s inconvenient, because I really want to do both! Here’s how you can chain commands together:
- ipconfig /release & ipconfig/renew
As soon as the first command completes it starts the second one.