This is an old revision of the document!
Table of Contents
How to add command line arguments to a shortcut?
Create a shortcut
- Press and hold “Alt” key while drag and drop (left click and hold on the icon and move the cursor) the executable to a new location (empty space on your desktop or within the same folder in Windows Explorer)
- Release left click and “Alt” key too
Set the command line arguments
- Right click on your new shortcut
- Left click on “Properties” menu
- Left click on “Shortcut”tab
- In the “Target” field, you see the target file location between double quotes (like this: “<sample location>\run.exe”), add your command line arguments after the second double quote character and a space character (like this: “<sample location>\run.exe -arg1 -arg2”)