/O /T /A works as expected,
/O /A only works for a single target on the command line.
When settings both panels in one command line, in the right panel the archive is always opened, not just focussed ("/A" ignored).
Help wrote:/A When an archive file is passed as path, do not open it, but instead open the directory containing the archive and set the archive as the active file (place the text cursor on it)
TC 9.50b13 (since 8.50, when "/A" was introduced), both 32/64bit, tested with ZIP, RAR, CAB files (no difference).HISTORY.TXT wrote:10.09.13 Fixed: Command line parameters /O /T /A not working together (archives are still opened) (32/64)
To reproduce (please adjust path to test files):
Code: Select all
%COMMANDER_EXE% /A /O /L="D:\TC\L\both.zip" /R="D:\TC\R\both.zip"
these command lines are working with no problem
Code: Select all
%COMMANDER_EXE% /A /O /L="D:\TC\L\both.zip"&pause&rem works OK
%COMMANDER_EXE% /A /O /R="D:\TC\R\both.zip"&pause&rem works OK
%COMMANDER_EXE% /A /L="D:\TC\L\both.zip" /R="D:\TC\R\both.zip"&pause&rem /A works OK (new TC instance)
Some test results:
- No problem with the left panel (respects "/A /O" correctly), this concerns only the right panel.
- No problem when opening a new TC instance (with "/A", leaving out "/O" parameter) - works correctly for both panels.
- No problem when additionally using "/T" to open new tabs
- I found no better parameter combinations in the command line, like /A once or twice, before or after the paths, before or after "/O".
- Cursor position (left or right panel active) doesn't seem to matter.
This ("/O /A") is e.g. used in this script to open the selected files from "Synchronize directories" in another TC instance.