calc size with or without Everythings command?
Moderators: Hacker, petermad, Stefan2, white
calc size with or without Everythings command?
Is there cmd A and cmd B, cmd A caculates dirs size with Everything while cmd B doesn't?
I don't turn on Everything all the time, would like to have two command to switch between using Everything or not. If the answer is No, I'll write a feature request.
I don't turn on Everything all the time, would like to have two command to switch between using Everything or not. If the answer is No, I'll write a feature request.
Re: calc size with or without Everythings command?
This is something i'd want aswell, right now instead i just use a custom view mode with the auto run command *cm_CountDirContent
But that has it's own problem, because it executes on dir change only, and when deleting/creating dir's, the sizes disappear so you have to go in/out of a dir to get a new calculation, annoying.
But that has it's own problem, because it executes on dir change only, and when deleting/creating dir's, the sizes disappear so you have to go in/out of a dir to get a new calculation, annoying.
Re: calc size with or without Everythings command?
Configuration > Options... > Operation > Calculate space occupied by subdirectoriesdindog wrote: 2023-08-10, 06:23 UTC Is there cmd A and cmd B, cmd A caculates dirs size with Everything while cmd B doesn't?
Code: Select all
☑️ 'Everything' Manual: Alt+Shift+Enter
🔲 'Everything' Manual: Alt+Shift+Enter
Re: calc size with or without Everythings command?
What i mean is a command to enable "automatic only with everything" and another that sets it to "manual".
Using manual alt+shift+enter means you have to do it every dir change. When i'm hunting down large folders to delete or for whatever reason i need the feature, i usually need it multiple times, with dir changes, and then i'd like to set the feature to manual.
Using manual alt+shift+enter means you have to do it every dir change. When i'm hunting down large folders to delete or for whatever reason i need the feature, i usually need it multiple times, with dir changes, and then i'd like to set the feature to manual.
Re: calc size with or without Everythings command?
This button should help.mhe wrote: 2023-08-10, 09:41 UTC This is something i'd want aswell, right now instead i just use a custom view mode with the auto run command *cm_CountDirContent
But that has it's own problem, because it executes on dir change only, and when deleting/creating dir's,
the sizes disappear so you have to go in/out of a dir to get a new calculation, annoying.
Code: Select all
TOTALCMD#BAR#DATA
cm_RereadSource 2
wcmicons.dll,86
cm_rereadsource 2 <-- re-applies automatic View mode change to current directory|cm_rereadsource 1 forces refresh even if nothing has changed in that directory,|e.g. to re-load icons and overlays.|cm_rereadsource 3 also forces a refresh if nothing has changed
0
-1
Re: calc size with or without Everythings command?
2mhe
Do you have
in your View mode?
Do you have
Code: Select all
*cm_CountDirContent|cm_RereadSource 2
F1-Help, Configuration - View Mode - Auto-run commands wrote:To run commands when a view mode is left, put them behind | (vertical line).
Re: calc size with or without Everythings command?
Doesn't seem to change anything. When dir sizes are shown, try creating a new folder, or deleting a folder, now the sizes disappear, and neither cm_RereadSource 1 2 or 3 does anything, also *cm_CountDirContent|cm_RereadSource 2 doesn't seem to do anything more than *cm_CountDirContent does alone.
Re: calc size with or without Everythings command?
If I do not enable 'Everything''s option to "Start Everything at system startup", and I do not keep Everything.exe in the TC program folder, and I do not have a Everything= entry in the [Configuration] section of my wincmd.ini file - then using TC's option "Automatic, only with Everything" is ignored, and manual dirsize counting is enabled.
But if TC can find Everything.exe either because it is placed in TC's program folder, or the location is given with the Everything= entry in wincmd.ini, then TC will automatically start 'Everything' if "Automatic, only with Everything" is enabled.
But if TC can find Everything.exe either because it is placed in TC's program folder, or the location is given with the Everything= entry in wincmd.ini, then TC will automatically start 'Everything' if "Automatic, only with Everything" is enabled.
So just make it impossible for TC to find and start 'Everything' (by following the first paragraph in this post) - then the Automatic dirsize calculation will be ignored, untill you manually start 'Everything'Help wrote:Everything=Everything.exe -startup Set location of Everything.exe to run when user checks "Everything" checkbox while Everything isn't running yet. Without this option, Everything.exe will be searched in the Total Commander folder. Note: When specifying parameters pointing to a file, like -config, you need to specify the name including full path. Otherwise Everything will not find the file.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: calc size with or without Everythings command?
petermad, that's one hell of a workaround. Tried it, however, it seems like TC has to be restarted to start showing dir sizes automatically again, defeats the purpose.
If i'm open to that level of workaround then i might as well have a script that toggles between GetDirSize=0 and GetDirSize=3, and then restarts TC, but that is too outlandish for me, i'd rather just go in/out of a folder to get it to "refresh", and keep using a custom view mode.
If i'm open to that level of workaround then i might as well have a script that toggles between GetDirSize=0 and GetDirSize=3, and then restarts TC, but that is too outlandish for me, i'd rather just go in/out of a folder to get it to "refresh", and keep using a custom view mode.
Re: calc size with or without Everythings command?
When a folder is deleted or created, then the file sizes are also deleted from other folders in this directory. I agree with this.mhe wrote: 2023-08-10, 11:26 UTC Doesn't seem to change anything. When dir sizes are shown, try creating a new folder, or deleting a folder, now the sizes disappear, and neither cm_RereadSource 1 2 or 3 does anything, also *cm_CountDirContent|cm_RereadSource 2 doesn't seem to do anything more than *cm_CountDirContent does alone.
With the command: cm_RereadSource 2 (pls see button) you can restore/refresh the view with file sizes.
Code: Select all
|cm_RereadSource 2
This setting can be helpful.
Re: calc size with or without Everythings command?
I must be doing something wrong because once i create/delete a dir, all dir sizes are gone and they are not back until i change view mode or go in/out of a dir, the cm_RereadSource 2 does nothing.
Are you sure you have it set to "manual: alt+shift+enter"?
Are you sure you have it set to "manual: alt+shift+enter"?
Re: calc size with or without Everythings command?
The button with command cm_RereadSource 2 works properly here, i.e.
"re-applies automatic View mode change to current directory"
Did you make sure that the correct window has the focus when you click on the button?
Example:
Move a folder from the right to the left window - focus is in the right window and you press the button.
In the right window I have not defined a view mode for this path. Nothing happens in the left window.
Yes, I have this setting and 'Everything' is totally closed (no icon in systray).
Although I start 'Everything' automatically every day, I have this setting.
Despite a current PC, the screen is otherwise a bit sluggish.
Re: calc size with or without Everythings command?
Make a button with the command cm_Exit 13 then TC will restart in the state it was in.mhe wrote: 2023-08-10, 12:38 UTC petermad, that's one hell of a workaround. Tried it, however, it seems like TC has to be restarted to start showing dir sizes automatically again, defeats the purpose.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar