Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tutorial:add_command_line_arguments [2020/10/11 15:18] retrovemtutorial:add_command_line_arguments [2020/10/11 15:20] (current) retrovem
Line 1: Line 1:
 +====== 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 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
 +  - Your new shortcut has been created, you can safely rename it if you want
 +
 +
 ===== Set the command line arguments ===== ===== Set the command line arguments =====
  
   - Right click on your new shortcut   - Right click on your new shortcut
   - Left click on //"Properties"//  menu   - Left click on //"Properties"//  menu
-  - Left click on //"Shortcut"//tab +  - 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"//) +  - In the //"Target"//  field, you see the target file location between double quotes (like this: //"<sample location>\run.exe"//), add your command line arguments as specified in the article **after the second double quote character and a space character** (like this:// "<sample location>\run.exe-arg1 -arg2//)
-  - Left click on the "OK" button+
 ~~socialite:name~~ ~~socialite:name~~
 {{tag>tutorial_en}} {{tag>tutorial_en}}
  
  
Print/export
QR Code
QR Code tutorial:add_command_line_arguments (generated for current page)