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.
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.
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
Now do a right click on the shortcut and select properties.
At target
you must add the parameters after the exe name.
In this demo I created a Explorer.exe
shortcut and added /n,/e,C:\
to start Explorer directly in C:\
.
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):
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.