Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

uses tasklist to gett pid in batch file

tasklist /FI "ImageName eq cmd.exe" /FI "Status eq Running" /FO CSV
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #tasklist #gett #pid #batch #file
ADD COMMENT
Topic
Name
3+8 =