Jump to content

Open With Wordpad on right click unknown


Recommended Posts

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"

Link to comment
Share on other sites


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.

Link to comment
Share on other sites

  • 4 weeks later...

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Strange least here all I do is add the first part and it automatically add's the HKLM key's. Same with the Open w/Wordpad all I do is add the key and it add's the HKLM key's.

My original Notepad stuff is same thing as here but read the note about office 97 if you have that.

Mean's you got a problem BigDaddy

I heard of that before and am looking, i'll put it here if i find.

Link to comment
Share on other sites

  • 11 months later...
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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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