Joe Levi:
a cross-discipline, multi-dimensional problem solver who thinks outside the box – but within reality™

Command Prompt Tip: Ampersand

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.

You can thank me later.

Share

You may also like...

Leave a Reply