Button to open specific folder in right panel

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
risk
Junior Member
Junior Member
Posts: 87
Joined: 2007-07-30, 03:18 UTC

Button to open specific folder in right panel

Post by *risk »

I have a button with the command "cd d:\folder". Is there a way to always open this folder in the right panel when the button is clicked?
User avatar
ZoSTeR
Power Member
Power Member
Posts: 1052
Joined: 2004-07-29, 11:00 UTC

Post by *ZoSTeR »

One way would be a button with
Command:

Code: Select all

%COMMANDER_EXE%
Parameter:

Code: Select all

/O /R=C:\SomeFolder
or create a user command like em_cdToFolderX and prefix it with cm_focusright
Command:

Code: Select all

cm_focusright,em_cdToFolderX
where em_cdToFolderX is
Command:

Code: Select all

cd C:\SomeFolder
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Post by *Stefan2 »

EDIT: I was tooo slow, ZoSTeR beats me.

- - -

Perhaps like in this example:

http://ghisler.ch/board/viewtopic.php?t=42130&highlight=panel




Or use

help, section 4a. Command line parameters
totalcmd.exe [/o] [/n] [/L=Drive1:\Directory1] [/R=Drive2:\Directory2] [/i=name.ini] [/f=ftpname.ini]

I don't have the right syntax at hand, but it should be possible, like here
http://ghisler.ch/board/viewtopic.php?t=35169


Others surely know better...


 
Post Reply