Change batch files default editor


Notepad is the default editor when you right-click a batch file in Explorer. I
prefer using UltraEdit-32. To change the default from NotePad to the editor of
your choice:

Hive: HKEY_CLASSES_ROOT
Key:
batfile\shell\edit\command
Name: Default
Type: REG_EXPAND_SZ
Value: %SystemRoot%\System32\NOTEPAD.EXE %1
default
Value: C:\Program
Files\ULTRAEDT\UEDIT32.EXe %1
my choice

For Windows 2000, its No Name
instead of Default.

About The Author

Leave a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Scroll to Top