CODE: [Copy to clipboard]@echo off for /f "skip=3" %%i in ('tasklist') do set/a n+=1 echo count=%n% pause