[TC7b4] Strange behaviour with cm_list and special folder.

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
nsp
Power Member
Power Member
Posts: 1913
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

[TC7b4] Strange behaviour with cm_list and special folder.

Post by *nsp »

I create a user command em_Show like :
[em_Show]
cmd=cm_List
param=%A


from the command line, i type

em_Show c:\My Folder\myFile.txt

I got an error if the current folder is the special folder [\\Favoris réseau\]

if i tip em_Show c:\\My Folder\myFile.txt everything become OK....

Strange......
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

Not confirmed

What is %A
User avatar
nsp
Power Member
Power Member
Posts: 1913
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp »

ts4242 wrote:Not confirmed

What is %A
%A means : command line/menu can append parameters to the user command.

(I have French language setup and French windows XP-SP2)

To be able to have this, i edit manually usercmd.ini and add :
[em_show]
cmd=cm_List
param=%A

...........................
Once it is done, i select my "network neighborhood" folder in the current tab. (in french : \\Favoris réseau\ )

And i tip in the command line bar :
em_show c:\My Folder\MyFile.txt[enter]

and i get an error message with :
[ File not found ]
[ MyFile.txt ]

(The c:\My Folder\MyFile.txt file is not selected in any tab ! )

if i tip :
em_show c:\\My Folder\MyFile.txt[enter]

Or if the active tab is not setup on \\Favoris réseau\

I see the lister with MyFile.txt in it !!!


I know that cm_list does not accept parameter ! But with em_show as described, it is almost working so i use it with my powerpro script to launch the lister with any file i want to see, and from the command line with the wonderfull autopath completion !
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50475
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Virtual folders aren't supported by cm_list at the moment, sorry.
Author of Total Commander
https://www.ghisler.com
User avatar
StickyNomad
Power Member
Power Member
Posts: 1933
Joined: 2004-01-10, 00:15 UTC
Location: Germany

Post by *StickyNomad »

So this thread can be moved to 'behaviour that will not be changed', maybe? (Just to reduce the bug count a bit :wink: )
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Notsupported

Post by *Clo »

[mod]Not supported feature. Moved to «Behaviour which will not be changed…»
Clo, moderator[/mod]
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
Post Reply