Our forums are currently in maintenance mode and the ability to post is disabled. We will be back up and running as soon as possible. Thanks for your patience!

General discussion


Maximize textfiles everytime

By Dukhalion ·
How can I always maximize an associated program's window (in winxp) without any extra clicking or keying? I've spent many hours on the net searching for an answer, but not found any relevant solution to this particular problem.
Suppose I always want textfiles to open in a maximized Notepad window.

If I:

click My computer
select Tools
select Folder options
select Filetypes
select TXT
select Advanced
select Open
select Edit

...I will get a screen with some textfields governing how notepad starts. I would assume that by filling in some argument(s) after C:\WINDOWS\system32\NOTEPAD.EXE %1
I could get all subsequent calls to textfiles to open maximized. But what are those arguments? I've seen a "/p" argument which causes the textfile to be printed.
Or do I fill something into the DDE-section?

And please, do NOT suggest creating a shortcut with "maximize window" selected, because that would require me to create one for every textfile on the disk. And I would prefer to get this done without any third party software. This MUST be possible, I find it hard to believe that no-one else has thought of it and wants it.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by lowlands In reply to Maximize textfiles everyt ...

open registry, go to HKCU\Software\Microsoft\Notepad

Find the following two values:

Change the values of these two to your screen resolution, so in my case
iWindowsPosDX=1280 (decimal)
iWindowsPosDY=1024 (decimal)

Also set fSaveWindowPositions to 1.

Now if you want to you can set this whole key to read only so it won't change.

Collapse -

by Dukhalion In reply to Maximize textfiles everyt ...

Although it doesn't actually -maximize- a window it does the trick well enough for my purposes.

Many thanks!!!

Related Discussions

Related Forums