?
Solved

Notepad Reg Hack

Posted on 2000-04-12
4
Medium Priority
?
394 Views
Last Modified: 2013-12-28
I am running a Win98SE box and I have a reg hack to include Open with Notepad as an option anytime I right click on a file.  However, when I pick that option, for instance for file abc.def I get an error message that says

"Windows cannot find file abc.def. This file is needed for opening files of the type "DEF"."

This happens even for .txt files.  This is kind of an iffy hack, and I think it is affected by something else, because it worked great on this machine before it was rebuilt, worked on one of my Win95 machines and not the other, and works on one of my NT4.0SP6 boxes and again, not the other.

And by the way, if you try the left-click, shift-right-click open with...
and scroll down to Notepad, that doesn't work either on the affected machines.  The Notepad Icon is replaced with the standard executable icon, and you get the same error message.  Any help would be greatly appreciated.
0
Comment
Question by:xsdm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 5

Expert Comment

by:PLansdowne
ID: 2710133
Have you tried choosing "other" when you select "open with"?

Browse to your C:\Windows folder and try and double click on Notepad.

0
 

Author Comment

by:xsdm
ID: 2710189
Yes, that seems to work... However as time consuming as it is, it's not really a viable long term solution.
Thanks for the idea though.  Any others?
0
 
LVL 1

Accepted Solution

by:
constable earned 300 total points
ID: 2710222
This problem you are experiencing is due to an improper registry hack.

If you've got Quick View installed (it should come with Win98SE) you can use the following registry edits as an example:


[HKEY_LOCAL_MACHINE\Software\CLASSES\QuickView]
@="Quick View File"

[HKEY_LOCAL_MACHINE\Software\CLASSES\QuickView\*]
@="Default Viewers"

[HKEY_LOCAL_MACHINE\Software\CLASSES\QuickView\*\{F0F08735-0C36-101B-B086-0020AF07D0F4}]
@="SCC Quick Viewer"

[HKEY_LOCAL_MACHINE\Software\CLASSES\QuickView\shell]

[HKEY_LOCAL_MACHINE\Software\CLASSES\QuickView\shell\open]

[HKEY_LOCAL_MACHINE\Software\CLASSES\QuickView\shell\open\command]
@="C:\\WINDOWS\\SYSTEM\\VIEWERS\\quikview.EXE"

[HKEY_LOCAL_MACHINE\Software\CLASSES\QuickView\{F0F08735-0C36-101B-B086-0020AF07D0F4}]
@="SCC Quick Viewer"

[HKEY_LOCAL_MACHINE\Software\CLASSES\QuickView\.]

There are two parts to getting an application to open any file on right clicking.

The first is the insertion of the key that enables the selection in the shell, and the second is the key that tells Windows what to do with it.

Run a search through your registry for Notepad and see if these keys follow the example above, or just go find another registry hack that works.
0
 
LVL 5

Expert Comment

by:PLansdowne
ID: 2710302
When you chose "other" did you check "always use this program for opening this type of file"?
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question