知识库
创建日期
修改日期
修改日期
How to register additional extension for Source Preview
How to register an additional file extension for the Source Preview Handler.
In this example we register the handler for the .xyz file extension:
Register extension in registry
- Open regedit.exe
- Under the shellex sub key, create a new sub key:
HKEY_CLASSES_ROOT\SystemFileAssociations\.xyz\shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f} - Under this key set the (Default) value to:
{7091AD29-4F19-4935-8BB2-400A630D26C4}
If another application is already associated with the file type .xyz:
- Go to HKEY_CLASSES_ROOT\.xyz
- Read the value from the (Default) key. e.g. MyApp
- Go to HKEY_CLASSES_ROOT\MyApp
- Under the shellex sub key, create a new sub key:
HKEY_CLASSES_ROOT\MyApp\shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f} - Under this key set the (Default) value to:
{7091AD29-4F19-4935-8BB2-400A630D26C4}
Add user extension in SmartFTP
- Start SmartFTP
- Go to the menu: File - Settings
- Go to the TextEditor - Styles dialog
- Select an existing File type in the list
- Enter the file extension under the User file extensions. E.g. xyz
- Restart SmartFTP
References
关键字
相关文章
What do you think about this topic? Send feedback!