Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Faq ► FAQ - Windows cmd.exe Command-Prompt ► ««« »»»

Command to restart programs via command prompt?


With the CMD command you can quite quickly quit programs and applications and restart on Windows 11, 10, ... and MS Server OS!



There are also tools for such tasks, such as the free Windows tool ProcessKO, but you do not always have to have a program on your PC. 

Here's a simple example how to restarting the File-Explorer, if File-Explorer hangs!

Create a batch file on the desktop with the name (as example) restart_explorer.bat

and enter the following commands

taskkill /IM explorer.exe /F
explorer.exe 
This is also the command to restart Windows Desktop The desktop is provided by the MS file explorer, so it is a sub-function of the explorer, if you restart it, the desktop is also restarted.

The first closes all explorer.exe processes / programs
The second one starts the ms-explore 

By double clicking on the batch file both commands are executed immediately. (... see Image-1)
Quite, smart, fast and easy!

See also: Use Taskkill with the Cmd.exe correctly and sensibly with examples!

(Image-1) Restart programs via command prompt!
Restart programs via command prompt!

-
▲ Back to the top ▲




FAQ 24: Updated on: 29 July 2021 17:40 Windows
Windows-Console

Command prompt, change CMD settings, color, font, ...?


An example If you want to change the color, font and width of the command prompt and do not like the default settings on Windows 11, 10, and MS Server
Windows-Console

Difference extended command prompt and normal on Windows?


The extended advanced command prompt and normal is the same Windows Console application cmd.exe on Windows 10, 11, and MS Server OS The extended
Windows-Console

Extend the output memory of the CMD prompt!


The output memory of the CMD prompt can easily be extended for longer text outputs The screen buffer size that you set with this option is temporary and
Windows-Console

How to list (see) all users via command line?


You can quite simply and quickly list all users user accounts or export them to a file. This is available in both console app, the classic command prompt
Windows-Console

How do I quickly create user accounts via command line?


Under Windows 11, 10, and MS Server OS you can use the command prompt to quickly create user accounts via command line In certain situations, you may
Windows-Console

Command Line to list / cancel print jobs / Example?


Under Windows 11, 10, . and MS Server OS, you can also quite easily list the print jobs via the command line abort / stop For this purpose, the WMIC
Windows-Console

Move Files with Powershell and CMD (examples)!


The solution is quite easy to move with Powershell and / or cmd.exe files, or folders, here with examples Preface: Moving files sometimes makes more sense

»»

  My question is not there in the FAQ
Asked questions on this answer:
Keywords: windows, 11, 10, server, eleven, console, command, restart, programs, prompt, applications, free, too, Questions, Answers, Software




    

  + Freeware
  + File management
  + Decoration and fun
  + Automation
  + Office
  + Order on the PC
  + PC testing tools

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + Print Folder Tree
  + Find Same Images
  + Experience-Index-OK
  + Font-View-OK


  + Freeware
  + AutoPowerOptionsOK
  + OneLoupe
  + TraceRouteOK
  + GetWindowText
  + AutoHideMouseCursor
  + Desktop.Calendar.Tray.OK
  + OK.Its.Raining.Men
  + Run-Command
  + MagicMouseTrails
  + PAD-s


Home | Thanks | Contact | Link me | FAQ | Windows 2021 | Windows 10 | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2022 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu
0.061


► Shrink pictures for Instagram, Facebook and co? ◄ ► Windows 8.1 and 10 keyboard speed (faster, slower and repeat)! ◄ ► Map network drives via the command prompt under Windows! ◄ ► Windows 10 app deny microphone access, but how! ◄ ► How do I find the quicktextpaste.ini (create a backup )? ◄ ► On Windows 8.1 and 10, how to clean up the app folder, delete apps! ◄ ► How do I uninstall applications or apps on my Samsung? ◄ ► Synchronization does not work on Windows 10 / 11, the solution! ◄
This website uses cookies to ensure you get the best experience on our website more Infos & Privacy Policy
....