You want to end up with something like this.
If you have
Code:
v:\> assoc .btm
.btm=TCC.Batch
you could use a .REG file like this after changing the editor (and its path) to your preferred editor. Or you could use REGEDIT to manually create the Shell\Edit and Shell\Edit\Command keys and enter the appropriate data.
Code:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\TCC.Batch]
[HKEY_CLASSES_ROOT\TCC.Batch\Shell]
[HKEY_CLASSES_ROOT\TCC.Batch\Shell\Edit]
[HKEY_CLASSES_ROOT\TCC.Batch\Shell\Edit\Command]
@="d:\\textpad7\\textpad.exe \"%1\""
If .BTM is not associated with TCC.Batch, run TCCBATCH.BTM (in TCC.EXE's directory) and answer 'Y' when asked "Do you want to make TCC the default handler for .BTM files". Then use one of the methods above.