Page 93 - PCWorld (September 2019)
P. 93

goal by pressing your monitors’ off buttons          location bar. Select Next, then give the
               or using the Windows-P shortcut to disable          shortcut a name, such as Steam. (Kudos to

               secondary screens, automating the routine is        WinAero [go.pcworld.com/wnar] for this
               much more satisfying.                               shortcut tip.)

                   We’ll use Valve’s Steam launcher as an
               example. Start by creating a text file in any
               directory—the same directory as your Steam

               install is fine—with the following lines:
                   displayswitch /internal
                   C:\Program Files\Steam\Steam.exe

                   displayswitch /extend














                                                                       To change the shortcut’s icon, right-click

                                                                   and select Properties, then select Change
                                                                   Icon. Navigate to your Steam directory,

                                                                   then double-click Steam.exe. You may also
                                                                   want to select Minimized in the Run section
                   Note that if you’ve installed Steam to a        from the same Properties menu, so you

               different directory than the default, or want        don’t see a command prompt window
               to open a different application, you’ll need to      when this batch file runs.

               replace C:\Program Files\Steam\Steam.exe                You’ll end up with an icon that looks
               with your install directory and filename.            just like your regular Steam app on the
                   Save the text file, then rename the file to       desktop, except it will disable your

               Steam.bat using File Explorer.                      secondary monitors upon launch, and
                   Next, we’ll make a shortcut to this file         reenable them when you exit. You can

               that looks like the regular Steam icon.             also right-click on this icon to add it to your
               Right-click on the desktop and select New >         Start menu. Try pairing this trick with Steam
               Shortcut, then type cmd /c "C:\Program              Big Picture mode (go.pcworld.com/bpic)

               Files\Steam\Steam.bat" into the                     for dramatic effect.



                                                                                         SEPTEMBER 2019   PCWorld   91
   88   89   90   91   92   93   94   95   96   97   98