%systemroot%\system32Run directly from windows command prompt:
@echo off & for /f "tokens=1 delims=." %i in ('tasklist ^| find "exe" ^| awk "!x[$1]++ {print $1}"') do echo %iRun from batch file:%systemroot%\system32@echo off & for /f "tokens=1 delims=." %i in ('tasklist ^| find "exe" ^| awk "!x[$1]++ {print $1}"') do echo %iRun from batch file:
No comments:
Post a Comment