Unsolved

This post is more than 5 years old

98 Posts

2774

April 23rd, 2002 13:00

Creating a batch file

I would like to know how to create this.

I have been to a few help sites, but still don't understand how.

I have also never tried to create one before.

I am attempting to perform this tweak from Axcel's Max Speeed Site.

Any help will always be appreciated.


MAXIMIZE NOTEPAD


"Don't you just hate it when you run Notepad and it won't start maximized, no
matter what? Well, I do!"

To get Notepad to maximize upon startup, create a batch file with this line:
@START.EXE /MAX %windir%\NOTEPAD.EXE

This will start a DOS box and then Notepad. Call the batch NOTEMAX.BAT or
whatever you like.

Actually you should right-click on the BATch file's shorcut (PIF = MS-DOS
Program Information File), place a check mark in the "Close on exit" box under
the Programs tab, and make sure you run it Minimized.

Last step: associate your .INI and .TXT files with NOTEMAX.BAT.

You can do this by editing the Registry. Run Regedit and go to these keys:

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\inifile\shell\open\command
@="%windir%\\NOTEPAD.EXE /n \"%1"

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\txtfile\shell\open\command
@="\"%windir%\\NOTEPAD.EXE\" \"%1\""

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\Notepad.exe\shell\edit\command
@="%windir%\\NOTEPAD.EXE %1"

Replace all NOTEPAD.EXE instances under the "(Default)" String Values with
NOTEMAX.BAT, and make sure to type in the full path to your BAT file.
Close Regedit when done."

"Create a shortcut for Notepad. Right-click on it -> click on Properties ->
click on Shortcut tab -> go to Run -> change to Maximized -> hit OK, and
Notepad will open maximized from now on. This works with most Windows apps."



Sam




Want to play the new Scorpion King game? Then go to this link here.

If you require my assistance, please send me an IM here at the forum, as I do not respond to e-mails. Thank you!



Need any additional help? Then check out my site. Click here.






360 Posts

April 23rd, 2002 14:00

327 Posts

April 23rd, 2002 15:00

Just had to laugh when you asked for a batch and pasted one down below. :)

-Willy

Dimension 4100
40GB Quantum Fireball 7200rpm HD (Master)
40GB Maxtor 7200rpm HD (Slave)
M781 16" Viewable, .26dp Monitor
Windows XP Professional
BIOS A10
Pentium III - 933mhz
512MB SDRAM
GeForce2 MX/4X 32MB
24x CD/DVD-ROM
32/10/24 VeloCD TDK CD-RW
Sound Blaster Live! 5.5

98 Posts

April 23rd, 2002 16:00

Thanks for your replies.

Somehow, I managed to figure it out on my own.

I guess I just had to read between the lines.

BTW, the tweak works fine with no problems.

Thanks again for your help.

Sam




Want to play the new Scorpion King game? Then go to this link here.

If you require my assistance, please send me an IM here at the forum, as I do not respond to e-mails. Thank you!



Need any additional help? Then check out my site. Click here.






No Events found!

Top