Solved

Notepad Reg Hack

Posted on 2000-04-12
4
390 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
  • 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 100 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
This is an article about Leadership and accepting and adapting to new challenges. It focuses mostly on upgrading to Windows 10.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

813 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now