How to Add Parameters to Shortcuts in Windows
Sometimes, when launching programs or applications in Windows, you may need to add specific parameters to their shortcuts. This can change how the application behaves, set up special configurations, or define the file path to be used. This approach is useful, for instance, for launching applications in compatibility mode, at a specific resolution, or with preloaded files. Let’s go over the steps to properly add parameters to a desktop shortcut.
1. Find the Shortcut
First, locate the shortcut for the program you want to modify. Typically, this shortcut will be on the desktop or in the Start menu. If there isn’t a shortcut already, you can create one by right-clicking the program’s executable file and selecting “Create shortcut.”
2. Open Shortcut Properties
After locating the shortcut, right-click it and choose “Properties.” This will open a window with several tabs, but the one we need is “Shortcut.”
3. Add Parameters in the "Target" Field
In the “Shortcut” tab, look for the “Target” field. This field shows the path to the file that is launched when you double-click the shortcut. To add parameters, simply type them after the quoted path. For example:
"C:\Program Files\AppFolder\App.exe" /parameter1 /parameter2
Important: If the parameters contain special characters or spaces, ensure they are entered correctly, as the application might not recognize them otherwise.
4. Examples of Parameters for Popular Applications
Here are some examples of how to use parameters for different applications:
- Launching in Compatibility Mode: Use suitable parameters if you need to run the application in a compatibility mode or as an administrator due to its age or compatibility needs.
- Google Chrome: To open Chrome in incognito mode, add the parameter
--incognito
. Example:"C:\Program Files\Google\Chrome\Application\chrome.exe" --incognito
. - Microsoft Word: You can specify a file path to open a specific document automatically with Word:
"C:\Program Files\Microsoft Office\OfficeXX\WINWORD.EXE" "C:\Docs\MyDocument.docx"
.
5. Save Changes and Test the Shortcut
Once you’ve added the desired parameters in the “Target” field, click “OK” or “Apply.” Then, launch the shortcut to verify if the settings have been applied. If done correctly, the application will open with the specified configurations.