In Windows, is it possible to find the terminal command to run a program from the icon's context menu? Here, I'm trying to find the terminal command to open each program from the icon's context menu, but I don't see the corresponding shell command anywhere in the context menu:
Since it is a shortcut, go to "Properties" and then look at the value in the "Target" field.
Hopefully I understood your question correctly.
I believe there are two parts to your question:
First how to open a command prompt already set to the correct location. In Windows-7 there is nothing built-in to do this for files. For folders in Windows-7 you can hold Shift and get
Second once at the location what file to execute and what if any parameters to add. You can see this on the "Shortcut" tab on the "Properties" Windows for the selected file.