Jump to content

Recommended Posts

Posted

Instead of usual tweak that gives you Open with Notepad on right click on unknown file I've modified mine to use Wordpad. Wordpad is located here - by default. %programfiles%\Windows NT\Accessories\wordpad.exe %1

Windows Registry Editor Version 5.00
;Open With Wordpad on right click unknown

[HKEY_CLASSES_ROOT\*\shell\open]
@="Open w/Wordpad"

[HKEY_CLASSES_ROOT\*\shell\open\command]
@=hex(2):25,00,70,00,72,00,6f,00,67,00,72,00,61,00,6d,00,66,00,69,00,6c,00,65,\
 00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,4e,00,\
 54,00,5c,00,41,00,63,00,63,00,65,00,73,00,73,00,6f,00,72,00,69,00,65,00,73,\
 00,5c,00,77,00,6f,00,72,00,64,00,70,00,61,00,64,00,2e,00,65,00,78,00,65,00,\
 20,00,25,00,31,00,00,00

Here's the usual Notepad one.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\open]
@="Open w/Notepad"

[HKEY_CLASSES_ROOT\*\shell\open\command]
@="notepad.exe %1"


Posted

The WORDPAD rule is a little bit wrong. It should be:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\open]@="Open w/Wordpad"

[HKEY_CLASSES_ROOT\*\shell\open\command]

@=hex(2):25,00,70,00,72,00,6f,00,67,00,72,00,61,00,6d,00,66,00,69,00,6c,00,65,\

00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,4e,00,\

54,00,5c,00,41,00,63,00,63,00,65,00,73,00,73,00,6f,00,72,00,69,00,65,00,73,\

00,5c,00,77,00,6f,00,72,00,64,00,70,00,61,00,64,00,2e,00,65,00,78,00,65,00,\

20,00,25,00,31,00,00,00

Without the:

";Open With Wordpad on right click unknown"

Or else it won't import.

  • 4 weeks later...
Posted

There is an issue that needs to be resolved using this line:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\open]
@="Open w/Notepad"

[HKEY_CLASSES_ROOT\*\shell\open\command]
@="notepad.exe %1"

Hidden files still won't load?? Is there any fix around this?

Are there others experiencing the same problem?

Posted

Perhaps this could be it. Maybe need the HKLM keys then it appears on right click of unknown files.

REGEDIT4

[HKEY_CLASSES_ROOT\*\shell\open]
@="Open w/Notepad"

[HKEY_CLASSES_ROOT\*\shell\open\command]
@="notepad.exe %1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\open]
@="Open w/Notepad"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\open\command]
@="notepad.exe %1"

The default when you just double click an unknown file is to open that search web garbage and can be changed to open the dialog lets you select the registered programs.

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system]
"NoInternetOpenWith"=dword:00000001

  • 11 months later...
Posted
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\open]

@="Open w/Wordpad"

[HKEY_CLASSES_ROOT\*\shell\open\command]

@=hex(2):25,00,70,00,72,00,6f,00,67,00,72,00,61,00,6d,00,66,00,69,00,6c,00,65,\

00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,4e,00,\

54,00,5c,00,41,00,63,00,63,00,65,00,73,00,73,00,6f,00,72,00,69,00,65,00,73,\

00,5c,00,77,00,6f,00,72,00,64,00,70,00,61,00,64,00,2e,00,65,00,78,00,65,00,\

20,00,25,00,31,00,00,00

There's an error with the above line. This new one works. Tested on WXP SP2

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\open]
@="Open w/Wordpad"

[HKEY_CLASSES_ROOT\*\shell\open\command]
@=hex(2):22,00,43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,20,\
 00,46,00,69,00,6c,00,65,00,73,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,\
 73,00,20,00,4e,00,54,00,5c,00,41,00,63,00,63,00,65,00,73,00,73,00,6f,00,72,\
 00,69,00,65,00,73,00,5c,00,77,00,6f,00,72,00,64,00,70,00,61,00,64,00,2e,00,\
 65,00,78,00,65,00,22,00,20,00,22,00,25,00,31,00,22,00,00,00

Posted

And here is a slight modification, I just think it's better to change the key names to something more obvious and make the tweak a user only one. If however you want it to be a global setting just replace HKCU with HKLM in both lines.

The real change is that it's in REG.EXE format for use in batch files

REG ADD HKCU\Software\Classes\*\shell\ViewIt /ve /d "View in Word&Pad" /f
REG ADD HKCU\Software\Classes\*\shell\ViewIt\command /ve /t REG_EXPAND_SZ /d "\"%%ProgramFiles%%\Windows NT\Accessories\wordpad.exe\" \"%%1\"" /f

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...