Windows Tip Sheet

The Big(ger) Picture

Change the command-line window mode with the free Fstoggle.exe tool.

This tip is part 3 in a series of 4 on cool command-line freeware.

If you’re running batch-style login scripts, you may from time to time want to force the command-line window to full-screen or windowed mode, or at least figure out which state the window is currently in. Enter Fstoggle.exe:

  • fstoggle    Toggles the display mode.
  • fstoggle 1 Switch to full-screen mode.
  • fstoggle 0 Switch to windowed mode.
  • fstoggle ? Print the display mode (0 or 1).

The tool also returns an errorlevel of 0 or 1, as appropriate, so that you can use this from within a batch file and automate the full-screen/windowed behavior.

Related Links:

About the Author

Don Jones is a multiple-year recipient of Microsoft’s MVP Award, and is an Author/Evangelist for video training company Pluralsight. Don is also a co-founder and President of PowerShell.org, a community dedicated to Microsoft’s Windows PowerShell technology. Don has more than two decades of experience in the IT industry, and specializes in the Microsoft business technology platform. He’s the author of more than 50 technology books, an accomplished IT journalist, and a sought-after speaker and instructor at conferences worldwide. Reach Don on Twitter at @concentratedDon, or on Facebook at Facebook.com/ConcentratedDon.

comments powered by Disqus

SharePoint Watch

Sign up for our newsletter.

I agree to this site's Privacy Policy.