directories info??
Moderators: Hacker, petermad, Stefan2, white
directories info??
hi...
is it also possible for the commander to tell me how many directories there are? right now it only tells you something like this:
0k / 5660 k in 0 / 123 files
but it does not tell me how many directories there are.
is there an option to turn that on?? something like this:
0 / 22 Directories with 0k / 5660 k in 0 / 123 files
or something like that?
mbwana
is it also possible for the commander to tell me how many directories there are? right now it only tells you something like this:
0k / 5660 k in 0 / 123 files
but it does not tell me how many directories there are.
is there an option to turn that on?? something like this:
0 / 22 Directories with 0k / 5660 k in 0 / 123 files
or something like that?
mbwana
A known wish---
2Mbwana
Hello !
¤ As far as I know, there is no setting for this.
- Maybe it's not difficult to implement, but the space on the status-bar could be insufficient with low screen-definitions.
- This has been already suggested / discussed, i.e. HERE
- Some plugins could make this too (perhaps, I don't know one).
Kind regards,
Claude
Clo
Hello !
¤ As far as I know, there is no setting for this.
- Maybe it's not difficult to implement, but the space on the status-bar could be insufficient with low screen-definitions.
- This has been already suggested / discussed, i.e. HERE
- Some plugins could make this too (perhaps, I don't know one).
Kind regards,
Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
[face=courier]On 11-09-2004 21:27:29 +0000 Mbwana wrote:
M> is it also possible for the commander to tell me how many
M> directories there are?
Place focus on directory name, hit ^Q and you'll get in the opposite panel
Total space occupied:
5 660 000 bytes in 123 file(s),
in 22 directories
or something like that.[/face]
M> is it also possible for the commander to tell me how many
M> directories there are?
Place focus on directory name, hit ^Q and you'll get in the opposite panel
Total space occupied:
5 660 000 bytes in 123 file(s),
in 22 directories
or something like that.[/face]
[face=courier]The Protoss do NOT run from their enemies.
It is here, that we shall make our stand.[/face]
It is here, that we shall make our stand.[/face]
[face=courier]On 11-09-2004 21:42:17 +0000 Clo wrote:
C> - This has been already suggested / discussed, i.e. HERE
Dear Clo, the thread you mentioned has no relation with things Mbwana talking about, it is about permanent directory size representation.[/face]
C> - This has been already suggested / discussed, i.e. HERE
Dear Clo, the thread you mentioned has no relation with things Mbwana talking about, it is about permanent directory size representation.[/face]
[face=courier]The Protoss do NOT run from their enemies.
It is here, that we shall make our stand.[/face]
It is here, that we shall make our stand.[/face]
Search is fancy
2Black Dog
Hi !
- There is another thread, I guess he could search with the same keywords…
Besides, it seems that he asked for a display in the status-bar directly -though the Quick-View does the trick, indeed-, but needs a handle.
Regards,
Claude
Clo
[mod]
It's ok to write an answer that provides a solution which is not 100% what the topic starter was looking for.
Lefteous (Moderator)
[/mod]
Hi !
- There is another thread, I guess he could search with the same keywords…
Besides, it seems that he asked for a display in the status-bar directly -though the Quick-View does the trick, indeed-, but needs a handle.
Regards,
Claude
Clo
[mod]
It's ok to write an answer that provides a solution which is not 100% what the topic starter was looking for.
Lefteous (Moderator)
[/mod]
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
[face=courier]On 11-09-2004 22:59:18 +0000 Clo wrote:
C> - There is another thread, I guess he could search with the
C> same keywords…
Well, if I give me trouble to place here some links, I make sure they are the proper ones...
C> Besides, it seems that he asked for a display in the status
C> -bar directly
It's pure "how to" answer, if one needs it it can use it, if not, well, you know.[/face]
[mod]
Don't push Clo for giving a solution for another problem. Making mistakes happens to everyone from time to time. 8)
Lefteous (Moderator)
[/mod]
C> - There is another thread, I guess he could search with the
C> same keywords…
Well, if I give me trouble to place here some links, I make sure they are the proper ones...
C> Besides, it seems that he asked for a display in the status
C> -bar directly
It's pure "how to" answer, if one needs it it can use it, if not, well, you know.[/face]
[mod]
Don't push Clo for giving a solution for another problem. Making mistakes happens to everyone from time to time. 8)
Lefteous (Moderator)
[/mod]
Last edited by Black Dog on 2004-09-12, 08:58 UTC, edited 1 time in total.
[face=courier]The Protoss do NOT run from their enemies.
It is here, that we shall make our stand.[/face]
It is here, that we shall make our stand.[/face]
Next step ?
2Raymond
Hi Raymond !
¤ Thanks, it works fine. I'll place that trick on the French forum. With a result in French, indeed
* Maybe a next step : to display the same in the status-bar (when wide enough…) and everybody'ld be glad !
Kind regards,
Claude
Clo
Hi Raymond !
¤ Thanks, it works fine. I'll place that trick on the French forum. With a result in French, indeed
* Maybe a next step : to display the same in the status-bar (when wide enough…) and everybody'ld be glad !
Kind regards,
Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
Re: Next step ?
In fact it's my long wish too.Clo wrote:* Maybe a next step : to display the same in the status-bar (when wide enough…) and everybody'ld be glad !
With a plugin...
2Raymond
Hi again !
- That works fine too with a button in the bar
… and I launched a call to the French-speaking users in order to get a small plugin (perhaps…)
Kind regards,
Claude
Clo
Hi again !
- Like I said above, I placed your trick in the French ForumIn fact it's my long wish too.
- That works fine too with a button in the bar
… and I launched a call to the French-speaking users in order to get a small plugin (perhaps…)
Kind regards,
Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
Re: directories info??
Hi Raymond,
I'm surprised that this works for me too, since I haven' t installed any Visual Basic at sll. Of course there must be the engine built into windows.
Two lacks:
1. I'd rather expect to get the count of the folder totalcmd if my cursor is on this folder than the count of Programme wherer the folder totalcmd is in.
2. Id like to see the count of subfolders, too.
Any chance too expand/adopt your (the) code?
kind regards
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
A request ?
2Sheepdog
Hello Stefan !
¤ Like you can see above, I launched a call to get a plugin or a more elaborated script to get that you wish…
* If no reply, what about a plugin request in the «Plugins…» forum ?
Friendly,
Claude
Clo
Hello Stefan !
¤ Like you can see above, I launched a call to get a plugin or a more elaborated script to get that you wish…
* If no reply, what about a plugin request in the «Plugins…» forum ?
Friendly,
Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
Re: directories info??
@Clo
Glad it could be useful for others.
@Sheepdog
Maybe Ctrl+L works for you? It counts subfolders recursively.
Actually it's not MY code. I got it from somewhere else. From the last text line of it, I guess the orginal author is W!ke76, the link is old Totalcmd forum, right?
I don't konw Visual Basic so maybe someone else would help to improve it.
And as I said above, I'll be very happy if Christian could make it displayed in status bar.
Glad it could be useful for others.
@Sheepdog
Maybe Ctrl+L works for you? It counts subfolders recursively.
Actually it's not MY code. I got it from somewhere else. From the last text line of it, I guess the orginal author is W!ke76, the link is old Totalcmd forum, right?
I don't konw Visual Basic so maybe someone else would help to improve it.
And as I said above, I'll be very happy if Christian could make it displayed in status bar.
Re: directories info??
How about calling the script with %P%N ?Sheepdog wrote:1. I'd rather expect to get the count of the folder totalcmd if my cursor is on this folder than the count of Programme wherer the folder totalcmd is in.
Regards,
CoolWater
2Sheepdog
just for you and all others count of subfolders...
Regards,
CoolWater
just for you and all others count of subfolders...
Code: Select all
Set objArgs = WScript.Arguments
Set fso = CreateObject("Scripting.FileSystemObject")
SubDirCount = 0
For I = 0 to objArgs.Count - 1
If fso.folderExists( objArgs(I) ) then
Set folder = fso.GetFolder(objArgs(I))
LastPart = Mid(folder, InStrRev(folder, "\") + 1)
RecurseFolder folder, fso
Call MsgBox("The number of subfolders in the selected dir '" + LastPart + "' is: " & SubDirCount, 64, folder)
End If
Next
Sub RecurseFolder(sPath, fso)
Dim fFolder, fSubFolders, fSubFolder
Set fFolder = fso.GetFolder(sPath)
Set fSubFolders = fFolder.SubFolders
'Now recurse for each subfolder in the sPath folder...
For Each fSubFolder In fSubFolders
'*** Call self to recurse down folders
Call RecurseFolder(sPath & "\" & fSubFolder.name, fso)
SubDirCount = SubDirCount + 1
Next
End Sub
'Original by W!ke76(http://www.eforum.de/showthread.php?s=&threadid=1356)
CoolWater