Here’s how to edit the Windows registry from the Command Prompt.īefore we get started, it’s important that you back up the registry, as well as your computer, before you make any edits. If you’re wanting to edit the registry, there are a few ways you can do it. Or you could see my linked answer and lock those values.Windows and a lot of third-party apps store settings in the registry. That way you would have an automatic way to change the position of your program's window, although you would have to run it whenever you wanted to restore. You can conceivably alter the values of your program and afterwards create a backup of the registry keys you changed. DX and DY are the width and height of the window. X and Y are the coordinates of the window's top left corner. Then modify the following values iWindowPosX HKEY_CURRENT_USER\Software\Microsoft\Notepad In the registry, go to the following folder: (The following is quoted from the first link but as blockquotes make this ugly I retained original formatting)įor Notepad, this is how you should proceed. I'm basing my answer on this but like I said and researched, different programs use different keys to store the same information. This isn't a one-size fits-all solution, because programs don't follow any naming convention regarding window placement. ![]() The following was something I wrote before that might help you if you want to lock the values. Use the keyboard arrows to move the window to the position you want.Right click on the program's "icon" on the taskbar. ![]() Although I don't know of any ability like that on XP, standard Move and Dimensioning (right click on the program on the taskbar) seem to not work as expected.Īfter doing a little digging, try the following: I've recently answered a question regarding window configurations and ultimately resorted to using the Registry.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |