Default action for non-registered fiel types

  Batch 09:32 24 Jul 2006

With W98 / ME, it was possible to edit the registry such that, in Windows Explorer, clicking on a file (or the default action in the context menu) of a non-registered type would open the file in Notepad. E.g.:

Shell (Default) View
View (Default) View as ASCII
command (Default) "C:\Windows\Notepad.exe %1"

Where the View Key and all its subordinates are added and the Shell key has its default changed to View from openas.

Have tried this in XP, but results in "Windows cannot open this file....To open this file WIndows needs to know what program created it....."

Is there some way I can achieve what I set out to do (or have I just made a typo somewhere that's causing it not to work)?

  Batch 09:34 24 Jul 2006

With dashes to preserve the indentation:

---------View---(Default)---View as ASCII
---------command---(Default)---"C:\Windows\Notepad.exe %1"

  Batch 09:37 24 Jul 2006

3rd attempt:

------View---(Default)---View as ASCII
---------command---(Default)---"C:\Windows\Notepad.exe %1"

  Batch 09:40 24 Jul 2006

Solved it myself.

The "C:\Windows\Notepad.exe %1" doesn't want the quotes. From what I recall these were needed in W98/ME.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Fujitsu Lifebook P727 laptop review

Lightwell software lets you create mobile apps without using code

Best value Mac: Which is the best £1249 Mac to buy

Comment désactiver les programmes qui s'exécutent au démarrage de Windows 10 ?