Here are some interesting Operating system and softwares tips and tricks 4u.JUST CLICK ON THE PICTURE IN THE BLOG FOR ENALARGED VIEW.

sd

Thursday, February 9, 2012

Opening unknown file types in Notepad by default(Windows XP, Vista, 7)

By Thursday, February 09, 2012 , , No comments
            On double clicking a file with an unknown type, Windows normally asks for the program it should open this fi le. At times an over-hasty mouse click or wrong association is made inadvertently.
            A registry change can configure Windows to open unknown file types in Notepad by default, which will keep you safe from malicious executables. Later, using the context menu ‘Open with’, you can select a suitable program and declare it as the default application for that particular file type. In Vista and Windows 7 you must keep the [Shift] key pressed while invoking the context menu to be able to execute the command.
             In XP, open ‘Run’ in the Start Menu, type ‘regedit’ and press the enter key. In Vista you give the command directly in the search field of the Start Menu. If necessary confirm the request for the user account control and navigate to the key ‘HKEY_CLASSES_ROOT\Unknown\shell\openas\command’. In the right part of the window double click on the string ‘default’ for processing. Replace the system command in the selection dialog with the command for a suitable editor, for example,
C:\Windows\notepad.exe %1 
You can also use any other editor, provided they are installed. For example, if you want to include the freeware Notepad++
C:\Program files\Notepad++\notepad++.exe %1
     In each case give the complete path to the program fi le and add the argument ‘%1’ at the end of the command line to include the clicked file. Important: A space must be given between the program fi le and the argument. Then click on ‘OK’ and close the registry.

0 comments:

Post a Comment

please write your comment

Note: Only a member of this blog may post a comment.

THE WINDOWS TRICKS Headline Animator