Windows – Opening a GUI program in full screen from command line invocation

command linefullscreengit-bashguiwindows 10

Specifically, I want to have the git-bash command prompt opened in full-screen mode upon startup of Windows 10.

git-bash GUI

To this end, I have added as shortcut of the program to Windows' startup folder; it opens automatically upon startup, as expected. But its window is not maximized.

My first guess was to add a certain (yet unknown) option to the invocation of the shortcut by modifying its source invocation <path>/git-bash.exe --option by accessing the settings of the shortcut, as seen below. But, I don't know if such an option is available. Is there a way to uncover the available options to an .exe program, in Windows?

Settings of shortcut

Best Answer

Full screen mode tends to not work with most applications, but you can try this alternative. Within the shortcut properties, on the same screen you linked above, under run: select maximised from the pull-down menu. A general rule with most shortcuts is to click on advanced and run as administrator as well.

Maximsed

Related Question