Home › Forums › SharewareOnSale Deals Discussion › Vov Start Stop / May 26 2019 › Reply To: Vov Start Stop / May 26 2019
RockFox
Guest
[@njwdt]
Here’s a 3 line Powershell script that will kill a process and then reopen it. In this example I kill Notepad and then reopen it.
taskkill /f /im notepad.exe
& C:\WINDOWS\system32/notepad.exe
Exit
Type Powershell in the search box and choose Windows PowerShell ISE.
Paste above code into the blue area. Then Save As somewhere.
Open File Explorer and find your saved file. It’s extension will be .ps1
Right click on it then click Run with Powershell