Glossary:Command line arguments

From PCGamingWiki, the wiki about fixing PC games
Commonly used to force windowed modes, custom specific resolutions or force certain hidden settings.

Windows[edit]

Create a shortcut then follow the instructions from the list for the desired environment.

Desktop shortcuts[edit]

Desktop Shortcut Example.png
For generic Windows desktop shortcuts.
Instructions[citation needed]
  1. Create a new shortcut, then Right Click on the shortcut and choose Properties.
  2. Under the Shortcut tab, find the Target field.
  3. Write any arguments after the quotes, then click OK.
"<path-to-game>\game.exe" -command

Notes

Use the Arrow Keys or End to get the cursor at the end of the path.
Push Space if more spaces are required, right after the quotes.

Steam[edit]

Steam Shortcut Example.png
Instructions[citation needed]
  1. Open the Library, then Right Click on the desired game and select Properties.
  2. Open Set Launch Options.
  3. Write any arguments in the text field, then click OK.

Custom Steam shortcuts[edit]

Non Steam Shortcut Example.png
Command lines arguments for games added through the Add a Non-Steam Game to My Library option.
Instructions[citation needed]
  1. Open the Library, then Right Click on the desired game and select Properties.
  2. Write any arguments after the quotes, then click Close.
"<path-to-game>\game.exe" -command

Origin[edit]

Origin Game Properties Example.png
Instructions[1]
  1. Open the Library, then Right Click on the game's box art and select Game Properties.
  2. Select Advanced Launch Options
  3. Write any arguments in the field box, then click Save.

References

  1. Verified by User:Blackbird on 2016-11-02