Page 1 of 1

How to start a file container

Posted: 04.09.2021, 22:28
by horst.epp
I have a favorite toolbar entry which calls a script to make an Everything search tool query.
It stores the result in an FC file container named everything.fcc
I can double click this entry in FC to open the container
but I want to open that specific container with a favorite button or an hotkey.
Btw. Everything search is the fastest way to search for files or contents in Windows.
Its fully integrated into Total Commander and by a script in XYplorer.
My FC script makes this available in FC to.

Re: How to start a file container

Posted: 05.09.2021, 09:03
by Marek
I want to open that specific container with a favorite button or an hotkey
I will implement this for the next release.

Re: How to start a file container

Posted: 07.09.2021, 13:37
by horst.epp
Thanks, one more suggestion for this.
If FC is started with a command line which has the path to a file container as parameter
it should open this file container.
That would allow my script to open the file container automatically after finishing the Everything query.

Re: How to start a file container

Posted: 07.09.2021, 19:49
by Marek
If FC is started with a command line which has the path to a file container as parameter
it should open this file container.
Yes, already changed too.

Re: How to start a file container

Posted: 20.09.2021, 18:57
by horst.epp
I tested it but unfortunately it doesn't work from a command line
if used together with the argument /C to run in the current instance.
Without the /c it works but then I get a new instance and my batch script can't terminate which is not what I want.

Re: How to start a file container

Posted: 22.09.2021, 21:02
by Marek
Fixed for the next release.

Re: How to start a file container

Posted: 16.10.2021, 13:30
by horst.epp
Version 854 stll doesn't open an *.fcc file from the command line if the /C argument is used

Re: How to start a file container

Posted: 16.10.2021, 19:43
by Marek
It seems to work for me.
Could you describe how you use this?
Show your command line too.

Re: How to start a file container

Posted: 16.10.2021, 20:03
by horst.epp
I run a cmd script from a Favorite button which creates a container file and starts FC with this line
C:\Tools\FreeCommander\FreeCommander.exe /c everything.fcc
The working dir of the script is the one where the fcc file is.
If I omit the /c it works but starts a new FC instance of course.
Also I can start the fcc file just fine with a favorite button.
So the file is ok but FC refuses to open it when /c is used on the command line.

Edit
I found the reason and the solution:
I must use a fuil pathname for the fcc file and it works.
Question is, why does it need the full path only when /c is used ?