F1 4.a Commandline parameters wrote:... Drive:\Directory Loads the first directory passed to Total Commander into the left window, and the second into the right window. Directory names containing spaces must be put in double quotes! Always specify the full path name including the drive! To open a stored FTP connection, use FTPOPEN:stored_ftp_name as path. Also accepts shares in the form \\server\share\subdir or smb: //server/share/subdir Instead of a directory, you can also pass a .tab file to load the saved tabs (replacing the current tabs).
F1 4.a Commandline parameters wrote:... Drive:\Directory Loads the first directory passed to Total Commander into the left window, and the second into the right window. Directory names containing spaces must be put in double quotes! Always specify the full path name including the drive! To open a stored FTP connection, use FTPOPEN:stored_ftp_name as path. Also accepts shares in the form \\server\share\subdir or smb: //server/share/subdir Instead of a directory, you can also pass a .tab file to load the saved tabs (replacing the current tabs).
HTH
Holger
Unfortunately TC crashes if I use tab files as parameter.
Total Commander has stopped working
A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.
This tab files are loaded without problems from inside of TC with OPENTABS.
Here an example of such file:
F1 4.a Commandline parameters wrote:... Drive:\Directory Loads the first directory passed to Total Commander into the left window, and the second into the right window. Directory names containing spaces must be put in double quotes! Always specify the full path name including the drive! To open a stored FTP connection, use FTPOPEN:stored_ftp_name as path. Also accepts shares in the form \\server\share\subdir or smb: //server/share/subdir Instead of a directory, you can also pass a .tab file to load the saved tabs (replacing the current tabs).
HTH
Holger
Thank you
could you write more in detail?
I try, something does not work out
Horst.Epp wrote:Unfortunately TC crashes if I use tab files as parameter.
Yes, it seems there's a problem with this feature. With my regular wincmd.ini TC tries to load the specified .tab file as an archive. With a fresh wincmd.ini it works as expected. Currently, I'm trying to figure out which section the culprit is in.
[ADD]
The issue is somewhere in the [PackerPlugins] section.
[/ADD]
[ADD2]
It's the stalker.wcx packer plugin in my case:
When this line is either removed or commented out, TC opens the tabs in the .tab file as expected. If the line is there, TC tries to open the .tab file as archive. This is a bug.
[/ADD2]
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Horst.Epp wrote:
Total Commander has stopped working
A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.
This tab files are loaded without problems from inside of TC with OPENTABS.
Here an example of such file:
1. Bug report forum?
2. can't reproduce the crash. TC opens the bar file in active panel (as Dalai said, assuming an archive-file)
3. afaik you can't create such a tab-file without saving both sides and editing/removing the content of [activetabs] section. So what's your point:
- Something in TC does not act like you wan't after hacking tab files?
- Feature request: "Load Inactive Tabs"?
@Horst.Epp:
My guess is that you have some packer plugin installed that reacts worse to the attempt to open the .tab file as an archive. Try renaming the [PackerPlugins] section in your wincmd.ini or something like that.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Edit: "OPENTABS:" sample removed (i thought it should work the same like "FTPOPEN:" but this seems to be not implemented...)
Edit2: replace backslash with correct slash for parameter "/L" and "/R"
Last edited by HolgerK on 2018-01-05, 19:27 UTC, edited 2 times in total.
Horst.Epp wrote:
Total Commander has stopped working
A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.
This tab files are loaded without problems from inside of TC with OPENTABS.
Here an example of such file:
1. Bug report forum?
2. can't reproduce the crash. TC opens the bar file in active panel (as Dalai said, assuming an archive-file)
3. afaik you can't create such a tab-file without saving both sides and editing/removing the content of [activetabs] section. So what's your point:
- Something in TC does not act like you wan't after hacking tab files?
- Feature request: "Load Inactive Tabs"?
Regard
Holger
I removed the active side because using such file as a auto-run in a view mode leads to an infinite TC loop if this view is started by Auto-switch.
The intention is to start several tabs in the inactive side when a certain dir is opened. But when this active dir is also in the tab file the Auto-run is started again and so on ...
I reported this problems long time ago but Christian refused to detect such condition.
It would simply requiring not to run an auto-run if the new dir is already the active one. I don't see any good reason why he refused such an easy change which prevents looping in TC.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3593) TC 11.03 x64 / x86
Everything 1.5.0.1376a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
@Horst.Epp:
My guess is that you have some packer plugin installed that reacts worse to the attempt to open the .tab file as an archive. Try renaming the [PackerPlugins] section in your wincmd.ini or something like that.
Regards
Dalai
I tested with an absolute fresh ini file and TC doesn't crash but show the content of the tab file like an archive.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3593) TC 11.03 x64 / x86
Everything 1.5.0.1376a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
wouldn't work as autorun command for view mode?
</OT>
Regards
Holger
That would lead to the same recursion problem if the tab file also contains the active side dir. Only removing the active dir from the tab file avoids TC loop.
Its currently no problem for me because I use this modified tab files from inside TC which gives no problems or crashes.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3593) TC 11.03 x64 / x86
Everything 1.5.0.1376a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64