Forum Discussion
JDR2500
Frequent Contributor
I'd kill it with PowerShell in the batch file if you want to be certain it's no longer running.
PS C:\> Stop-Process -Name "testexecute"
Stop-Process (Microsoft.PowerShell.Management) - PowerShell | Microsoft Learn
Hassan_Ballan
3 months agoContributor
In batch file, you could use the command line "TASKKILL /IM testexecute.exe" rather than adding PoweShell, its really a matter of preference.
On command line run C:\>taskkill /? for the help
Related Content
- 4 years ago
Recent Discussions
- 3 hours ago