Solved

Windows 7 default notepad to open all unknown file extension

Posted on 2011-09-21
5
671 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
[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
  • 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 54

Accepted Solution

by:
Joe Winograd, EE MVE 2015&2016 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 54

Expert Comment

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

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

First some basics on Windows 7 Backup.  It has 2 components one is a file based backup which is stored in .zip files each zip is split at around 200 Megabytes and there is the Image Backup which is as the name implies a total image of the partition …
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
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…

717 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