uses tasklist to gett pid in batch file
tasklist /FI "ImageName eq cmd.exe" /FI "Status eq Running" /FO CSV
Are there any code examples left?
New code examples in category Other
tasklist /FI "ImageName eq cmd.exe" /FI "Status eq Running" /FO CSV