Display only Files

English support forum

Moderators: white, Hacker, petermad, Stefan2

kennya1
Junior Member
Junior Member
Posts: 10
Joined: 2009-06-07, 11:48 UTC

Display only Files

Post by *kennya1 »

Is there a way to get TC to only display files and NOT the subfolders in a folder?
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Selected branch ?

Post by *Clo »

2kennya1

:) Hello !

• With TC 7.55 … you may use Ctrl+Shift+B and cm_DirBranchSel to get a “flat view” of a selected folder…

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
ehab
Senior Member
Senior Member
Posts: 271
Joined: 2007-10-29, 07:41 UTC
Location: Libya

Post by *ehab »

did you try Define selection

ctrl + 12

Define
Plugins tab
Check Search in plugins
Plugin: tc
Property: file type
OP: =
Value: folder
#181344 Personal licence
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

<Ctrl+F12>

Code: Select all

|*\
The mask behind the pipe"|" symbol is used to hide the matching files and folder "*\".
Hiding of folders works only this direct way (not via a saved filter).

HTH
Holger
User avatar
ehab
Senior Member
Senior Member
Posts: 271
Joined: 2007-10-29, 07:41 UTC
Location: Libya

Post by *ehab »

nice one HolgerK

Files only
|*\

Folders only
|*
#181344 Personal licence
kennya1
Junior Member
Junior Member
Posts: 10
Joined: 2009-06-07, 11:48 UTC

Post by *kennya1 »

Thanks for the
Files only
|*\
Folders only
|*
Suggestion.

I should point out that this works most of the time as long as you do not have and "periods" in the folder name or and files without an extension. i wish I could save it as a permanent view
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

If you download TCMC: allows to send multiple TC commands on one button/command line.

Then you could do something like this (on a button):
Command: "%Commander_Path%\Tools\TCMC.exe" 50 CMcm_SelectAllFiles CMcm_ShowOnlySelected CMcm_ClearAllFiles
Tooltip:Hide Directories, show files only ...
OR:
Command: "%Commander_Path%\Tools\TCMC.exe" 50 CMcm_SelectAllFolders CMcm_ShowOnlySelected CMcm_ClearAllFolders
Tooltip: Hide Files, Show Directories only ...
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

2Balderstrom,

Norton Anti-Virus does not like that program at all. But I did get it working in Toolbar.ini. I just haven't figured out how to get back to the original listing from the button.
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Boofo, NAV just doesn't like EXE compressor used with TCMC (and most of AV software don't like EXE compressors and treat files compressed with just UPX as viruses even if they don't see any viruses in uncompressed files).
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

Yeah that's a known "issue", just exclude it. If you recall TC used to be packed/compressed as well.

TCMC isn't packed with UPX, so I haven't bothered trying to find which compressor was used -- many others cost $30-$50. I'm not gonna pay for a program to unpack something that works fine as is.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

2MVV,

I have only had NAV kicked into dislike mode on a couple of TC add-ons like this. Usually, the packed files aren't that bad to get an alert. The packed file from the older TC never gave me any alerts.

2Balderstrom,

I actually did the same thing as you suggested with Toolbar (from Samuel). Here is the INI file settings I used:
[Button 4 Normal]
; Hide Directories, show Files only
1_Command=3302
2_Command=2023
3_Command=3304

[Button 5 Normal]
; Hide Files, show Directories only
1_Command=3303
2_Command=2023
3_Command=3305
It works but there is no way to get back to the original listing when you click the button.
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

@ Boofo:
CTRL+F10
or (in my Main Menu)
--> View / ALL Files

I consider it a mild GUI bug that when things are filtered like this, the view menu continues to Highlight/Focus on "View / All Files" as if there is no filter enabled.
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

2Balderstrom

Yes, I knew how to do it that way. I was just trying to make a button for it somehow to do it from what I posted.
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

@Boofo:
You can put cm_SrcAllFiles on a button, AFAIK that is the exact action/definition of CTRL+F10
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
User avatar
xmeron
Junior Member
Junior Member
Posts: 90
Joined: 2009-06-17, 19:43 UTC

Post by *xmeron »

ehab wrote:nice one HolgerK

Files only
|*\

Folders only
|*
it seems below are also ok:

Files only
\

Folders only
*.
Post Reply