How to Run Multiple Commands in CMD
techviral.net·18h
Flag this post

What if I tell you you can run multiple commands simultaneously in Command Prompt? You can run two commands in one line in Windows Command Prompt by creating a batch script file using Notepad. Below, we have shared the best methods for running multiple commands in CMD on Windows.

1. Run Multiple Commands By Creating a Batch Script

This method includes creating a batch script to run multiple commands. Using this, you can execute all your commands one by one automatically. For that, we are going to use the commands to reset the DNS cache of Windows-

  • ipconfig /displaydns
  • ipconfig /flushdns
  • ipconfig /release
  • ipconfig /renew

1. Open Notepad on your computer.

2. Enter the commands you want to execute with a single click. In this example, we use the four commands ment…

Similar Posts

Loading similar posts...