Created
September 14, 2018 05:52
-
-
Save akirad/5ba2282687453f3d7cf52b349ac8a953 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set pid=%1 | |
:loop | |
set /p<nul=%date% %time%, | |
tasklist /fo csv /fi "pid eq %pid%" /nh | |
timeout 60 > nul | |
goto :loop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment