Created
February 5, 2017 22:09
-
-
Save erlangparasu/d3e8a611dd1693984f280d4a20cbbce9 to your computer and use it in GitHub Desktop.
Get the command tasklist. Tags: windows, cmd, task, tasklist, command, commandline.
This file contains hidden or 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
:: https://superuser.com/questions/683021/how-to-get-the-command-that-invoked-a-task-with-tasklist/683052#683052 | |
wmic process where caption="test.exe" get commandline,processid |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment