Default action for non-registered fiel types

  Batch 09:32 24 Jul 06

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 06

With dashes to preserve the indentation:

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

  Batch 09:37 24 Jul 06

3rd attempt:

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

  Batch 09:40 24 Jul 06

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.

Huawei P10 review

1995-2015: How technology has changed the world in 20 years

An overview: What leading creative agencies are doing to improve diversity

New iPad, iPhone SE & Red iPhone 7 on sale now