do not kill *.exe system files from tasklist

May 16, 2011 at 19:13:33
Specs: Windows 7
do not kill *.exe system files from tasklist


C:\test>type killexe.bat
@echo off

tasklist > tasklist.txt


for /f "tokens=1,2 delims= " %%i in (tasklist.txt) do (
echo pid=%%j
rem if not %%i==notepad.exe (
if %%i==notepad.exe (
echo i=%%i
echo taskkill /F /pid %%j
taskkill /F /pid %%j
)
)
C:\test>

Bill


See More: do not kill *.exe system files from tasklist

Report •


#1
May 17, 2011 at 11:56:52
do not kill *.exe system files from tasklist
Okay, I won't.

How To Ask Questions The Smart Way


Report •

#2
May 28, 2011 at 01:25:42
the more i read this script the more i m getting confused...what exactly you are trying to DO say in simple words instead of this round round round batch script please..

Subhash Chandra.
http://www.wintechgeek.com


Report •
Related Solutions


Ask Question