I've been experimenting with registry settings, including associating documents with applications and adding to the ShellNew menu. Now, usually, they work, but not always. Somebody elsewhere helped me with the ShellNew menu, and now it works. However, I added an association to the .txt extension to a text editor and a shortcut to the SendTo menu to add a template to a database. Both report SFNs, and I don't know why. Both the exported registry tree for the .txt file class (the issue is with the tm.exe app. in the open2 key) and the SendTo entry shortcut's command line follow:
----------------------------
REGEDIT4
[HKEY_CLASSES_ROOT\txtfile]
@="Text Document"
[HKEY_CLASSES_ROOT\txtfile\DefaultIcon]
@="shell32.dll,-152"
[HKEY_CLASSES_ROOT\txtfile\shell]
[HKEY_CLASSES_ROOT\txtfile\shell\open]
[HKEY_CLASSES_ROOT\txtfile\shell\open\command]
@="C:\\WINDOWS\\NOTEPAD.EXE %1"
[HKEY_CLASSES_ROOT\txtfile\shell\print]
[HKEY_CLASSES_ROOT\txtfile\shell\print\command]
@="C:\\WINDOWS\\NOTEPAD.EXE /p %1"
[HKEY_CLASSES_ROOT\txtfile\shell\open2]
@="Open with &Text Master"
[HKEY_CLASSES_ROOT\txtfile\shell\open2\command]
@="\"G:\\DellPC\\Text Master\\tm.exe\" %1"
------------------------
AddTemplate command line:
C:\MyPrgs\Win32\Picker\AddTemplate.exe %1
------------------------
I would appreciate any help.
----------------------------
REGEDIT4
[HKEY_CLASSES_ROOT\txtfile]
@="Text Document"
[HKEY_CLASSES_ROOT\txtfile\DefaultIcon]
@="shell32.dll,-152"
[HKEY_CLASSES_ROOT\txtfile\shell]
[HKEY_CLASSES_ROOT\txtfile\shell\open]
[HKEY_CLASSES_ROOT\txtfile\shell\open\command]
@="C:\\WINDOWS\\NOTEPAD.EXE %1"
[HKEY_CLASSES_ROOT\txtfile\shell\print]
[HKEY_CLASSES_ROOT\txtfile\shell\print\command]
@="C:\\WINDOWS\\NOTEPAD.EXE /p %1"
[HKEY_CLASSES_ROOT\txtfile\shell\open2]
@="Open with &Text Master"
[HKEY_CLASSES_ROOT\txtfile\shell\open2\command]
@="\"G:\\DellPC\\Text Master\\tm.exe\" %1"
------------------------
AddTemplate command line:
C:\MyPrgs\Win32\Picker\AddTemplate.exe %1
------------------------
I would appreciate any help.