Quantcast
Channel: Total Commander
Viewing all articles
Browse latest Browse all 3799

TC suggestions (English) • cm_Exit 32: Restart Total Commander with empty .ini

$
0
0
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:

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

Code:

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

Code:

[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:

[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.

Statistics: Posted by beb — 2024-01-07, 18:15 UTC



Viewing all articles
Browse latest Browse all 3799

Trending Articles