New command line parameter like /A but for directories

Here you can propose new features, make suggestions etc.

Moderators: sheep, Hacker, Stefan2, white

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 8581
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

New command line parameter like /A but for directories

Post by *petermad » 2018-05-26, 10:15 UTC

With the command line parameter /A we can prevent going into archive files stated on the command line, but in stead place the cursor on the archive.

Like:

Code: Select all

totalcmd.exe /0 /A c:\ c:\folder\archive.zip
will place the cursor on archive.zip in the right panel.

I could often use a similar parameter, maybe /B (/D is already used) that does the same for directories - i.e putting the cursor on the last dir in the path in stead of opening the dir.
License #524 (1994)
Danish Total Commander Translator
TC 9.5b1 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1903) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b12 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
MVV
Power Member
Power Member
Posts: 8343
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV » 2018-05-28, 05:00 UTC

Why not the same /A? Are there cases where one will want to focus an archive but not focus a dir? Or vice versa?

User avatar
petermad
Power Member
Power Member
Posts: 8581
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Post by *petermad » 2018-05-28, 10:01 UTC

Why not the same /A? Are there cases where one will want to focus an archive but not focus a dir? Or vice versa?
Mostly when I use such a command from inside TC I would probably like to focus the dir, but if I use it to start up TC I would probably mostly want to go into the dir. I very rarely want to go into an archive in either case.
License #524 (1994)
Danish Total Commander Translator
TC 9.5b1 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1903) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b12 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
petermad
Power Member
Power Member
Posts: 8581
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: New command line parameter like /A but for directories

Post by *petermad » 2019-03-24, 14:55 UTC

Bump*
2ghisler(Author)

Any chance of this getting into maybe the next version of TC? - It should be pretty easy to implement, an doestn't require translation... :)
License #524 (1994)
Danish Total Commander Translator
TC 9.5b1 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1903) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b12 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 37766
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: New command line parameter like /A but for directories

Post by *ghisler(Author) » 2019-03-25, 08:49 UTC

It would require quite a lot of changes because it would also have to work with /O (open in already running TC), with /T (open in new tab) etc.
Author of Total Commander
http://www.ghisler.com

Post Reply