but would like to use the installed Delphi Preview handler
which displays this and many other file formats.
It works fine with Explorer, Everything and XYplorer
but not in TCs preview mode 8.
Other extensions like *.pas are working from TC but not *.cmd ?
https://github.com/RRUZ/delphi-preview-handler
The Registry info for cmd
Code: Select all
[HKEY_CLASSES_ROOT\.cmd]
@="cmdfile"
[HKEY_CLASSES_ROOT\.cmd\PersistentHandler]
@="{5e941d80-bf96-11cd-b579-08002b30bfeb}"
[HKEY_CLASSES_ROOT\.cmd\shellex]
[HKEY_CLASSES_ROOT\.cmd\shellex\{8895B1C6-B41F-4C1C-A562-0D564250836F}]
@="{AD8855FB-F908-4DDF-982C-ADB9DE5FF000}"
=============================
[HKEY_CLASSES_ROOT\cmdfile]
@="Windows Command Script"
EditFlags=type(3)
"FriendlyTypeName"="@%SystemRoot%\System32\acppage.dll,-6003"
[HKEY_CLASSES_ROOT\cmdfile\DefaultIcon]
@="%SystemRoot%\System32\imageres.dll,-68"
[HKEY_CLASSES_ROOT\cmdfile\shell]
[HKEY_CLASSES_ROOT\cmdfile\shell\edit]
[HKEY_CLASSES_ROOT\cmdfile\shell\edit\command]
@="%SystemRoot%\System32\NOTEPAD.EXE %1"
[HKEY_CLASSES_ROOT\cmdfile\shell\open]
EditFlags=type(3)
[HKEY_CLASSES_ROOT\cmdfile\shell\open\command]
@=""%1" %*"
[HKEY_CLASSES_ROOT\cmdfile\shell\print]
[HKEY_CLASSES_ROOT\cmdfile\shell\print\command]
@="%SystemRoot%\System32\NOTEPAD.EXE /p %1"
[HKEY_CLASSES_ROOT\cmdfile\shell\runas]
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\cmdfile\shell\runas\command]
@="%SystemRoot%\System32\cmd.exe /C "%1" %*"
[HKEY_CLASSES_ROOT\cmdfile\shell\runasuser]
@="@shell32.dll,-50944"
"Extended"=""
"SuppressionPolicyEx"="{F211AA05-D4DF-4370-A2A0-9F19C09756A7}"
[HKEY_CLASSES_ROOT\cmdfile\shell\runasuser\command]
"DelegateExecute"="{ea72d00e-4960-42fa-ba92-7792a7944c1d}"
[HKEY_CLASSES_ROOT\cmdfile\shellex]
[HKEY_CLASSES_ROOT\cmdfile\shellex\ContextMenuHandlers]
@="Compatibility"
[HKEY_CLASSES_ROOT\cmdfile\shellex\ContextMenuHandlers\Compatibility]
@="{1d27f844-3a1f-4410-85ac-14651078412d}"
[HKEY_CLASSES_ROOT\cmdfile\shellex\ContextMenuHandlers\OpenGLShExt]
@="{E97DEC16-A50D-49bb-AE24-CF682282E08D}"
[HKEY_CLASSES_ROOT\cmdfile\shellex\DropHandler]
@="{86C86720-42A0-1069-A2E8-08002B30309D}"
[HKEY_CLASSES_ROOT\cmdfile\shellex\PropertySheetHandlers]
[HKEY_CLASSES_ROOT\cmdfile\shellex\PropertySheetHandlers\ShimLayer Property Page]
@="{513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8}"
[HKEY_CLASSES_ROOT\cmdfile\shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{1531d583-8375-4d3f-b5fb-d23bbd169f22}"
=============================
[Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.cmd]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.cmd\OpenWithList]
"a"="XYplorer.exe"
"b"="ab"
"MRUList"="abc"
"c"="a"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.cmd\OpenWithProgids]
"cmdfile"=hex(0):