Open in left panel:
/L=<path>, open in right panel:
/R=<path> (it was quite similar to your try from first post). Same instance:
/O, new instance:
/N.
New instance opens with saved directories and then changes them according to command line. So if it was opened both at same dir with such command line, one of them was saved and opened by TC initially.
If you want to change view mode to thumbnail view in right panel of second instance, you need to pass TC command
cm_RightThumbs to that instance. If it has focus, you can use e.g. my TCFS2 tool:
TCFS2.exe /ef "tcm(169)". However in order to open new TC and pass a command you may need a batch file (optional delay between commands may be needed in order to give second instance a time to have focus). Second way to change view mode is to set corresponding INI key and then start second instance, this may also be done with TCFS2:
TCFS2.exe /ef "set_tcini(right, SpecialView, 2)".
If you define user-command
em_TOTALCMD with command
%COMMANDER_PATH% and parameter
%A, it will be possible to do both actions with only TCFS2 w/o batch, e.g.:
Code: Select all
TCSF2.exe /ef "set_tcini(right, SpecialView, 2) tem(`em_TOTALCMD /N /R="c:\all\Bobs"`)"