I have a program in Windows 7 that launches ffmpeg in an external command prompt window but it is impossible to see what arguments were passed in.
Is there a way to see what arguments were given?
ProcessHacker (a Task Manager replacement) will display the command line arguments for any selected process:
A free, powerful, multi-purpose tool that helps you monitor system resources, debug software and detect malware.
Example:
F:\test>cmd /c test.cmd
F:\test>echo off
Press any key to continue . . .
In ProcessHacker:
Select the process you are interested in.
There may be several cmd
shell processes running and you will have to make sure you select the correct one. Hovering over the process name will show the command line so you know the correct one to select:
Right click and select "Properties" or just press Enter.
The resulting "Properties" dialog shows the command line used to start the process.
I am not affiliated with ProcessHacker in any way, I am just an end user of the software.
Command Line
column in the Processes
tab, so there is no real need for a 3rd party utility. That said, if the process closes too quickly to catch a glimpse of its command line in the list of running processes, then @Craig620's answer works better.
If you're using Win7 Home instead of professional you won't have gpedit.msc. Regedit to HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Audit. Set key ProcessCreationIncludeCmdLine_Enabled = 1
Run the program that launches FFMEG
running
program, just a program thatwas launched
, which may have long ended before one had a chance to look at a list of running processes in their favorite utility. As such, I don't see the reason to mark it as aduplicate
.ffmpeg
tasks that can take a fraction of a second to complete). Marking the question outright as aduplicate
relies on the additional assumption that the program is still running, which is simply not present in the question as asked. A request to clarify, or flag for insufficient information, would have been more appropriate.