Yes, but that was just an example. I have a lot of other constructions where it would be easier with a new environment variable like for example:as a workaround - extract TC's icons from the binary, and distribute it with your Menus.
Code: Select all
[em_ext_newcommander2]
cmd=%COMSPEC% /C
param=start "Total Commander Basic" /WAIT "%%COMMANDER_PATH%%\TOTALCMD.EXE" /i="%%COMMANDER_INI%%\..\wcmd_ext_tc.ini" /f="%%COMMANDER_INI%%\..\wcmd_ext_ftp.ini" && del "%%COMMANDER_INI%%\..\wcmd_ext_*.ini"
iconic=1
menu=Open a new instance of Total Commander with clean ini-files
button=%COMMANDER_PATH%\TOTALCMD.EXE