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
Solved

Windows 7 default notepad to open all unknown file extension

Posted on 2011-09-21
5
643 Views
Last Modified: 2012-05-12
I have a need to have notepad be the default program to open all unknown file types.  I can get this to work with WinXp by editing HKEY_CLASSES_ROOT\Unknown\shell\openas\command and changing the default value to Notepad.exe %1.  However, this does not work for Windows 7.  Does anyone have a way to make this work in Win7.  I do not want an option to right click and open in Notepad or a send to option.  I need it to automatically open in notepad for any files with unknown file types.  Thank you.
0
Comment
Question by:LRI1
  • 2
  • 2
5 Comments
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 36573736
0
 

Author Comment

by:LRI1
ID: 36573979
Thanks dariusg but I already know how to do that.  Let me explain further.  We have thousands of files, all simple text or ascii files used for our machines on the shop floor.  These files go back 20 or 30 years.  Each file has either a 3 letter extension that references the company the part is manufactured for or the revision.  For example 0002-282.sis, 0001-585.001, 0008-454.089 and so on.  I don't want to have to associate hundreds of file types on multiple computers so the workstations on the shop floor can open the files.  I want Windows to open all unknowns with notepad.  We have a mix on Win7 and WinXP machines.  The WinXP reg edit works but does not in Win 7.  I need that or something like that to work in Win 7.  I
0
 
LVL 53

Accepted Solution

by:
Joe Winograd, EE MVE earned 500 total points
ID: 36574391
Try this:

Add key "notepad" to Unknown/shell
Add key "command" to Unknown/shell/notepad
Set the default of "command" to the Notepad executable (probably c:\windows\system32\notepad.exe)
Set the default of "shell" to "notepad"

Regards, Joe
0
 

Author Closing Comment

by:LRI1
ID: 36574460
That is it!  Thank you so much!
0
 
LVL 53

Expert Comment

by:Joe Winograd, EE MVE
ID: 36574696
You're welcome. Glad it worked for you. Regards, Joe
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

809 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