Folder shortcut set to open always on the right side.

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
jony_easyrider
Junior Member
Junior Member
Posts: 4
Joined: 2020-07-17, 08:48 UTC

Folder shortcut set to open always on the right side.

Post by *jony_easyrider »

I need for a folder shortcut from the bar to open it always on the right side.

This is possible?
User avatar
jinsight
Senior Member
Senior Member
Posts: 299
Joined: 2003-02-25, 19:47 UTC
Location: Wooster, Ohio, USA

Re: Folder shortcut set to open always on the right side.

Post by *jinsight »

Create a button on the button bar, enter:

Command: %Commander_Exe%
Parameter: /O /P=R /R="Your path here"
License #1945
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
jony_easyrider
Junior Member
Junior Member
Posts: 4
Joined: 2020-07-17, 08:48 UTC

Re: Folder shortcut set to open always on the right side.

Post by *jony_easyrider »

It works perfectly, just it does in the left side, I need this on the right side. I tried to change R to L, but it does the same.
User avatar
jinsight
Senior Member
Senior Member
Posts: 299
Joined: 2003-02-25, 19:47 UTC
Location: Wooster, Ohio, USA

Re: Folder shortcut set to open always on the right side.

Post by *jinsight »

My bad.

This sets the right pane and puts the focus on it:
Command: %Commander_Exe%
Parameter: /O /P=R /R="Your path here"

This sets the left pane and puts the focus on it:
Command: %Commander_Exe%
Parameter: /O /P=L /L="Your path here"

Here are the parameters from Help:
/O If Total Commander is already running, activate it and pass the path(s) in the command line to that instance (overrides the settings in the configuration dialog to have multiple windows)
/P= Makes the active panel at program start either L or R
/L= Set path in left window
/R= Set path right window
License #1945
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
User avatar
jinsight
Senior Member
Senior Member
Posts: 299
Joined: 2003-02-25, 19:47 UTC
Location: Wooster, Ohio, USA

Re: Folder shortcut set to open always on the right side.

Post by *jinsight »

Folder Shortcut to Open on Left or Right Pane

Get the addon AskParam 1.0.6.152 from https://totalcmd.net/plugring/askparam.html

Create a button
Program: AskParam.exe
Parameters: /t"R" /v50:50 /c"Set Focus to Left or Right Pane" /p"L for left or R for right" %%COMMANDER_EXE%% /O /P=%%1 /%%1="Your folder name"

/t"R" defaults to the right pane. Change this to /t"L" to default to the left pane.
License #1945
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
jony_easyrider
Junior Member
Junior Member
Posts: 4
Joined: 2020-07-17, 08:48 UTC

Re: Folder shortcut set to open always on the right side.

Post by *jony_easyrider »

Strange, that this is working only if I set the left side.

When I set on the right side, the target folder will open on left pane and the focus will be on right side.

I will try with AskParam later.
jony_easyrider
Junior Member
Junior Member
Posts: 4
Joined: 2020-07-17, 08:48 UTC

Re: Folder shortcut set to open always on the right side.

Post by *jony_easyrider »

The issue was the TC version. I had 9.0a. I installed the latest one and now it's working perfectly with:

Command: %Commander_Exe%
Parameter: /O /P=R /R="Your path here"

Thanks!
Post Reply