How View only files?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Sombra
Power Member
Power Member
Posts: 814
Joined: 2005-12-27, 22:23 UTC
Location: Zaragoza, Spain

How View only files?

Post by *Sombra »

Currently I use these filter *.*|*.*\ with the command "Show Custom (CTRL+F12)" for view only files.

But... is possible do an em_command for it?
The goal is assign the command to a button.
TIA.
I can read English, but... I write like Tarzan. (sorry)
User avatar
petermad
Power Member
Power Member
Posts: 16104
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

In principle it should work with:

Code: Select all

[em_nodirs]
cmd=cd .\*.*|*.*\
But it doesn't - even though for eample

Code: Select all

[em_txt]
cmd=cd .\*.*|*.txt
works fine.

I am also amazed that using *.*|*.*\ as a mask, manages to hide the folders - it doesn't in TC 6.56 - and Ghisler has always emphasized that folder must not be hidden for TC to work.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Sombra
Power Member
Power Member
Posts: 814
Joined: 2005-12-27, 22:23 UTC
Location: Zaragoza, Spain

Post by *Sombra »

I also can't understand the behaviour. The strange is that the inverse process; show only directorys and hide files, work fine too.

Code: Select all

cmd=cd 
Param=*.*\|*.*
I can read English, but... I write like Tarzan. (sorry)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50841
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It doesn't work because of the trailing backslash, sorry.
Author of Total Commander
https://www.ghisler.com
User avatar
Sombra
Power Member
Power Member
Posts: 814
Joined: 2005-12-27, 22:23 UTC
Location: Zaragoza, Spain

Post by *Sombra »

About this topic...
Could be moved to "Behaviour which will not be changed" ?
I can read English, but... I write like Tarzan. (sorry)
urlwolf
Junior Member
Junior Member
Posts: 70
Joined: 2007-06-27, 23:03 UTC

Post by *urlwolf »

This : *.*|*.*\
rocks! This is a great forum!
Post Reply