Dom's tumblelog

Posts tagged tips

0 notes &

NirCmd to the rescue

This is a little tip that I must remember. 

Just had a problem with a window appearing off-screen. In most circumstances using the keyboard to bring it back would be easy, as per this How-To Geek post, but in this case it was a toolbar window from my text editor and the keyboard movement commands were being sent to the main window and not the problematic off-screen one.

Enter NirCmd. This is a useful command line jack-of-all-trades that allows one to do various actions on Windows machines. The NirCmd homepage has a full list of all the things that it allows one to run from the command line.

The following command moves all the top level windows to the centre of the main screen:

nircmd.exe win center alltop

Job done.

Filed under tips