打开Total commander的配置,按照上图路径配置好fcs.btm的路径
其中fcs.btm默认用tcc打开,fcs.btm的内容如下:
@echo off
set a=%@xmlopen[%~dp0ext.xml]
set b=%@xmlnodes[/files]
set app=notepad.exe
set ext=%@ext[%1]
do i=1 to %b
set t=%@xmlxpath[/files/file[%i]/ext]
if /i %t==%ext set app=%@xmlxpath[/files/file[%i]/app]
enddo
set c=%@xmlclose[%a]
start "run-me" /c %app %1
delay 1
activate "run-me" /min
exit