cm_Exit: force-switch if it have opened temporary files?
Moderators: Hacker, petermad, Stefan2, white
cm_Exit: force-switch if it have opened temporary files?
Do it is possible to have a switch to force cm_Exit also if it have opened temporary files?
Re: cm_Exit: force-switch if it have opened temporary files?
What exactly that switch is supposed to do?Hurdet wrote: 2023-04-07, 06:21 UTC Do it is possible to have a switch to force cm_Exit also if it have opened temporary files?
E.g., I mainly use cm_Exit as follows:
Code: Select all
[em_bitness]
cmd=cm_ConfigSavePos,cm_exit 30
[em_restart]
cmd=cm_ConfigSavePos,cm_exit 29
30 = 2+4+8+16
29 = 1+4+8+16
where:
Code: Select all
CM_EXIT supports the following parameters (sum of):
0 or no parameter: Just exit
1: Restart Total Commander
2: Restart Total Commander but switch between 32-bit and 64-bit versions (if the other exists in the same directory)
3: Note: 2 and 3 do the same thing
4: Save paths, directories, tabs, panels (brief, full, etc.), and display modes on exit even when it's disabled in the configuration
8: Pass the current left and right directories and file under the cursor to the new instance
16: Restart with full administrator rights (elevated) (32/64)
Downside: thereafter the unpacked temporary stuff should be deleted manually.
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10/15
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10/15
Re: cm_Exit: force-switch if it have opened temporary files?
I have already written: if it have temporary files opened cm_Exit not work without close user confirm!