New answers tagged visual-studio-2008
This is a one line solution. It will run taskkill only if the process is really running otherwise it will just info that it is not running. tasklist | find /i "w3wp.exe" && taskkill /im w3wp.exe /F || echo process "w3wp.exe" not running. This is the output in case the process was running: w3wp.exe 1960 Services 0 ...
Top 50 recent answers are included