cm_Exit 32: Restart Total Commander with empty .ini

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
beb
Senior Member
Senior Member
Posts: 435
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

cm_Exit 32: Restart Total Commander with empty .ini

Post by *beb »

The title says it all.
I believe such an option would be very useful for testing and bug-tracking purposes.

For instance, empty .ini could be recreated in %temp% each time upon command invocation.

I understand that an experienced user can simulate such behavior in one way or another.
But the idea is intended to also deal with another scope of users for whom some instructions like how to install another copy of Total Commander (which is as it appears buggy by itself), or edit wincmd.ini, are compatible with the flight to the Moon, and therefore should be avoided, while with the proposed approach you just can share a ready-to-go button.

PS
Some examples:

Code: Select all

[em_noini]
cmd=%commander_exe% /i=nul /f=nul
[em_nul]
cmd=cm_exit,em_noini

Code: Select all

[em_tempini]
cmd=%commander_exe% /i=%temp%\wincmd.ini /f=%temp%\wcx_ftp.ini
[em_temp]
cmd=cm_exit,em_tempini

Code: Select all

[em_tempiniclean]
cmd=pwsh -command Get-ChildItem $env:Temp -recurse -include ('wincmd.ini','wcx_ftp.ini')|Remove-Item -force
[em_temp]
cmd=cm_exit,em_tempiniclean,em_tempini

Code: Select all

[em_tempinicleancmd]
cmd=%comspec% /q/c del/q "%temp%\wincmd.ini" "%temp%\wcx_ftp.ini"
[em_temp]
cmd=cm_exit,em_tempinicleancmd,em_tempini
cm_Exit 32 could replace those em_(s), and being internal could be easily shared.
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10
Post Reply