How to open TC with a specific file selected?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
valuex
Junior Member
Junior Member
Posts: 25
Joined: 2014-12-25, 13:53 UTC

How to open TC with a specific file selected?

Post by *valuex »

One can use “TotalCMD64.exe /O /T /L=” to open a folder in a new tab.
But how to select a specific file when TC is open?
There is a switch "/select" for Explorer to do so. Is there such a switch for TC?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: How to open TC with a specific file selected?

Post by *ghisler(Author) »

Try parameter /A and pass the full path of the file to TC in /L= or /R= parameters.
Author of Total Commander
https://www.ghisler.com
valuex
Junior Member
Junior Member
Posts: 25
Joined: 2014-12-25, 13:53 UTC

Re: How to open TC with a specific file selected?

Post by *valuex »

That's good. Thanks.
Maybe you've shared it somewhere but I missed it.
Would you please add /A to the wiki?
https://www.ghisler.ch/wiki/index.php/Command_line_parameters
User avatar
petermad
Power Member
Power Member
Posts: 16009
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: How to open TC with a specific file selected?

Post by *petermad »

2valuex

It is in the Help, section 4a: Command line parameters.

Would you please add /A to the wiki?
You can add to the Wiki yourself, just login with your login from this forum.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply