Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

There is a program currently running which I would like to maximize. Normally I would do this from the start menu by hovering -> right click window -> maximize. I would prefer to craft a batch file for this process.

Windows 7 x64

Thank you in advance for any assistance!

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Nircmd is an excellent utility for manipulating Windows from the command line. It includes a command to minimse a window based on .exe, class or title.

share|improve this answer
nircmd.exe win max process TheProgramName.exe <--- thanks paul it is in the help file –  Psycogeek Oct 20 '11 at 8:48
Good stuff! Works like a charm. Thank you Paul :-) –  Matt Oct 20 '11 at 20:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.