Display Command Line in Task Manager
Open the Task Manager on your computer. You can right-click on the Taskbar and then choose Task Manager from the list. Now, make sure you are on the Processes tab and right-click on any process under the Name tab > select Command Line.
You will find a new column Command line appear under which you will be able to see the command line path for each process.
It would be visible for running apps as well as background processes.
You can repeat the same process in the Details tab. Head over to that tab, right-click on the top row. A Select columns box will open up.
Select the Command Line check box and click OK. The Command line column will appear.