5

How to you add a parameter to an executable in Windows 10?

Once you select Properties by right-clicking on a program's icon (or its shortcut), there is no field to do this. I am using a non-privileged account.

dr_
  • 4,746

2 Answers2

6

You can only add parameters to shortcuts, not to normal exe properties. So select the exe, do a right click select copy go to desktop, make a rightclick and select paste shortcut

enter image description here

Now do a right click on the shortcut and select properties.

At target you must add the parameters after the exe name.

enter image description here

In this demo I created a Explorer.exe shortcut and added /n,/e,C:\ to start Explorer directly in C:\.

1

It appears that, in Windows 10, shortcuts of the shortcuts which are in the Start menu behave this way: their Target field is greyed out (and, additionally, it shows no path to the exe, only the program name):

enter image description here

So, to add params to an executable's shortcut, one needs to find the original exe and make the shortcut from it.

In previous versions of Windows, making a shortcut of a shortcut of an exe linked back to the original executable itself.

dr_
  • 4,746