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...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help