Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Open Any Unknown File Type With Notepad, Make Notepad as default file opener
nitish
post Jan 6 2008, 07:03 AM
Post #1


Newbie [Level 2]
**

Group: [HOSTED]
Posts: 35
Joined: 19-September 06
From: Higara
Member No.: 30,215



Open Any Unknown File with Notepad

************************************************************************
DISCLAIMER: The following contains registry edits. If done improperly
can cause strange behaviour, and at worst, could even entirely corrupt
your Windows Installation, requiring you to reinstall Windows.
I cannot be held for any damage you may cause to your system as a
result of taking any action suggested in the following article.
************************************************************************

Target OS: Windows XP

Introduction:
This registry edit can be very useful for Programmers and those who are often irritated by right clicking a file and selecting Open With/Notepad.
This edit makes any unknown file type to automatically open with notepad.
Just double click "default_notepad_opener.reg" and press OK if any dialog box pops up.
So download the file here: Attached File  default_notepad_opener.zip ( 1.6k ) Number of downloads: 6

OR
You can copy the code below into your favourite text editor and save it with .reg extension and apply. Before applying .reg extension go to “Tools” > “Folder Options…” > “View” tab and uncheck “Hide extensions for known file types”.


Windows Registry Editor Version 5.00

CODE
[HKEY_CLASSES_ROOT\Unknown\shell]
@="notepad"

[HKEY_CLASSES_ROOT\Unknown\shell\notepad]
@="Open with Notepad"

[HKEY_CLASSES_ROOT\Unknown\shell\notepad\command]
@="C:\\WINDOWS\\NOTEPAD.EXE %1"



NOTE: You can make any specfic file to always open with notepad, for eg for .php files to open with notepad, you right click the file, select properties and change "Open's with" application with notepad. But the registry edit described above is better.

For Reviewers: You can tell me to do as written in the above NOTE. But it will create registry settings for each file type. So, when I worked with .php3 files it will create registry settings for that and now if I set for .php again another registry. You see it makes us feel cool when one registry does the thing (for .css, .js, etc).
If some specific software’s have registered it (like Browser, HTML Editors) then those settings will be applicable.


Important:
This registry edit has only been tested on Windows Xp Professional edition.

From Author:
I think you've all done this edit succefully.

If you have any doubts then mail me:
dnitishkumar@gmail.com

Better you post your doubts, suggestions, reviews here.

This post has been edited by truefusion: Jan 6 2008, 09:38 AM
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Search For Video Files And Display Them(0)


 



- Lo-Fi Version Time is now: 5th September 2008 - 08:38 AM