How do I find out command line arguments of a running program?



As an IT administrator, you may need to know the command-line arguments of a running program. This can be useful for troubleshooting, or just to know what a program is doing. Knowing the command-line arguments of a running program is not always a straightforward process, however. In this article, we will discuss the different ways you can find out the command-line arguments of a running program.

First, let’s start with the most basic way to find out the command-line arguments of a running program: the Windows Task Manager. To open the Task Manager, press Ctrl+Alt+Delete on your keyboard, then select “Task Manager” from the menu. In the Task Manager, you will see a list of all the programs that are currently running on your computer. Right-click on the program you want to investigate, then select “Properties” from the menu. In the Properties window, select the “Command Line” tab. This will show the command-line arguments of the program, if any.

Another way to find out the command-line arguments of a running program is to use the Windows Resource Monitor. To open the Resource Monitor, press Win+R on your keyboard to open the Run window, then type “resmon” and press Enter. In the Resource Monitor window, select the “Processes” tab. Here you will see a list of all the programs that are currently running on your computer. Right-click on the program you want to investigate, then select “Properties” from the menu. In the Properties window, select the “Command Line” tab. This will show the command-line arguments of the program, if any.

The last way to find out the command-line arguments of a running program is to use the Windows Command Prompt. To open the Command Prompt, press Win+R on your keyboard to open the Run window, then type “cmd” and press Enter. In the Command Prompt window, type “tasklist” and press Enter. This will show a list of all the programs that are currently running on your computer. To find out the command-line arguments of a specific program, type “tasklist /v /fi “imagename eq ” and press Enter. This will show the command-line arguments of the program, if any.

As you can see, there are several ways to find out the command-line arguments of a running program. Depending on your needs, one of these methods may be more suitable than the others. Hopefully, this article has given you a better understanding of how to find out the command-line arguments of a running program.

Inquire Now

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Find your next full or part-time role here

ScaleDesk can either help you find your next full time gig or a part time side gig where you can create extra income!

Onboard with us once
Skip HR screening and go to the final interview with with only your resume and a video interview you never have to redo
Get paid electronically every month for the hours you work
We will be your reference even if you work for us once

IT Teams: Use ScaleDesk to augment your team

Schedule Demo