maxXPsoft Posted April 10, 2004 Share Posted April 10, 2004 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 %1Windows 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,00Here'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 More sharing options...
BigDaddy Posted April 10, 2004 Share Posted April 10, 2004 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,00Without the:";Open With Wordpad on right click unknown"Or else it won't import. Link to comment Share on other sites More sharing options...
Datalore Posted April 10, 2004 Share Posted April 10, 2004 Nice tip! Thanks for the info. Link to comment Share on other sites More sharing options...
maxXPsoft Posted April 11, 2004 Author Share Posted April 11, 2004 Ooops yeah I posted like to add to a reg file and people usually comment those. I fixed Link to comment Share on other sites More sharing options...
BigDaddy Posted April 12, 2004 Share Posted April 12, 2004 Ooops yeah I posted like to add to a reg file and people usually comment those. I fixedEveryone makes mistakes.. Link to comment Share on other sites More sharing options...
BigDaddy Posted May 11, 2004 Share Posted May 11, 2004 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 More sharing options...
maxXPsoft Posted May 11, 2004 Author Share Posted May 11, 2004 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 More sharing options...
maxXPsoft Posted May 12, 2004 Author Share Posted May 12, 2004 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 BigDaddyI heard of that before and am looking, i'll put it here if i find. Link to comment Share on other sites More sharing options...
BigDaddy Posted April 27, 2005 Share Posted April 27, 2005 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,00There's an error with the above line. This new one works. Tested on WXP SP2Windows 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 More sharing options...
Yzöwl Posted April 27, 2005 Share Posted April 27, 2005 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 filesREG ADD HKCU\Software\Classes\*\shell\ViewIt /ve /d "View in Word&Pad" /fREG 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now