Cumu eseguisce parechje cumandamenti in CMD
Cumu eseguisce parechje cumandamenti in CMD (XNUMX modi)

Sè avete usatu Windows 10 per un tempu, pudete sapè di u Command Prompt. Command Prompt hè unu di i migliori Windows 10 utilità chì vi permette di automatizà è compie una larga gamma di attività.

Ci hè parechje cose chì pudete fà cù Command Prompt. Per esempiu, pudete aduprà I migliori comandi CMD Per fà e cose basi. In listessu modu, ci sò volte quandu vulemu eseguisce parechje cumandamenti in Command Prompt.

Pudete eseguisce parechje cumandamenti in Command Prompt, ma avete da fà manualmente. E se vi dissi chì pudete eseguisce parechje cumandamenti à u stessu tempu in Command Prompt?

I dui migliori modi per eseguisce parechje cumandamenti in CMD

Iè, pudete eseguisce dui cumandamenti nantu à una linea à u Prompt Command di Windows. Dunque, avete bisognu di creà un schedariu di testu batch cù Notepad. Quì sottu, avemu spartutu i dui migliori modi per eseguisce parechje cumandamenti in CMD in Windows 10 PC. Cuntrollamu.

1. Aduprà Notepad

Stu metudu implica a creazione di un script batch per eseguisce parechje cumandamenti. Cù questu, pudete eseguisce tutti i vostri cumandamenti unu per unu automaticamente. Allora, avemu da aduprà i cumandamenti per resettate a cache dns per Windows 10 -

  • ipconfig /displaydns
  • ipconfig/flushds
  • ipconfig /versione
  • ipconfig / rinnuvà

Passu 1. Prima, apre u Notepad in u vostru urdinatore.

Passu 2. Avà entre i cumandamenti chì vulete eseguisce cun un clic. In questu esempiu, usemu i quattru cumandamenti chì avemu citatu sopra.

U terzu passu. Dopu, cliccate nantu à u schedariu è selezziunate l'opzione "Salvà cum'è" .

Passu 4. Avà salvà stu schedariu cù l'estensione .bat. Per esempiu, DNSreset.bat

Passu 5. Se vulete resettate a cache DNS, fate doppiu clicu nantu à u schedariu di script batch.

Què hè! Sò finitu. Questu hè cumu pudete eseguisce parechje cumandamenti in Command Prompt.

2. Aduprate caratteri spiciali

In questu metudu, avemu aduprà qualchi caratteri speciale trà i cumandamenti per eseguisce à u stessu tempu. Segui i passi datu sottu.

Passu 1. Se vulete eseguisce dui o più cumandamenti simultaneamente, basta entre "&" trà i cumandamenti. Per esempiu -ipconfig /flushdns & ipconfig /renew

Passu 2. Se vulete eseguisce u sicondu cumandamentu dopu u successu di u primu, utilizate "&&" trà i cumandamenti. Per esempiu -ipconfig /flushdns && ipconfig /renew

Passu 3. Se vulete eseguisce u sicondu cumandamentu solu s'ellu u primu cumanda ùn riesce à eseguisce, entre " || " trà i cumandamenti. Per esempiu -ipconfig /flushdns || ipconfig /renew

Què hè! Sò finitu. Pudete aduprà sti tag trà i cumandamenti cumu vulete.

Allora, questu articulu hè nantu à cumu fà cumandamenti multiplici in CMD in Windows 10. Spergu chì questu articulu vi aiuta! Per piacè sparte ancu cù i vostri amichi. Sì avete qualchì dubbiu nantu à questu, fateci sapè in a casella di cumenti sottu.