Find unique executes running, windows

Save:
in %systemroot%\system32

Run directly from windows command prompt:
@echo off & for /f "tokens=1 delims=." %i in ('tasklist ^| find "exe" ^| awk "!x[$1]++ {print $1}"') do echo %i
Run from batch file:

No comments: