How to start a file container

Discussion, questions and support.
Post Reply
Message
Author
horst.epp
Posts: 460
Joined: 15.11.2008, 20:18

How to start a file container

#1 Post by horst.epp » 04.09.2021, 22:28

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.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3296)
Everything Version 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.67
FreeCommander XE 2024 Build 905 64-bit donor

Marek
Author
Author
Posts: 3973
Joined: 10.04.2006, 09:48
Location: Germany
Contact:

Re: How to start a file container

#2 Post by Marek » 05.09.2021, 09:03

I want to open that specific container with a favorite button or an hotkey
I will implement this for the next release.

horst.epp
Posts: 460
Joined: 15.11.2008, 20:18

Re: How to start a file container

#3 Post by horst.epp » 07.09.2021, 13:37

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.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3296)
Everything Version 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.67
FreeCommander XE 2024 Build 905 64-bit donor

Marek
Author
Author
Posts: 3973
Joined: 10.04.2006, 09:48
Location: Germany
Contact:

Re: How to start a file container

#4 Post by Marek » 07.09.2021, 19:49

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.

horst.epp
Posts: 460
Joined: 15.11.2008, 20:18

Re: How to start a file container

#5 Post by horst.epp » 20.09.2021, 18:57

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.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3296)
Everything Version 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.67
FreeCommander XE 2024 Build 905 64-bit donor

Marek
Author
Author
Posts: 3973
Joined: 10.04.2006, 09:48
Location: Germany
Contact:

Re: How to start a file container

#6 Post by Marek » 22.09.2021, 21:02

Fixed for the next release.

horst.epp
Posts: 460
Joined: 15.11.2008, 20:18

Re: How to start a file container

#7 Post by horst.epp » 16.10.2021, 13:30

Version 854 stll doesn't open an *.fcc file from the command line if the /C argument is used
Windows 11 Home x64 Version 23H2 (OS Build 22631.3296)
Everything Version 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.67
FreeCommander XE 2024 Build 905 64-bit donor

Marek
Author
Author
Posts: 3973
Joined: 10.04.2006, 09:48
Location: Germany
Contact:

Re: How to start a file container

#8 Post by Marek » 16.10.2021, 19:43

It seems to work for me.
Could you describe how you use this?
Show your command line too.

horst.epp
Posts: 460
Joined: 15.11.2008, 20:18

Re: How to start a file container

#9 Post by horst.epp » 16.10.2021, 20:03

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 ?
Windows 11 Home x64 Version 23H2 (OS Build 22631.3296)
Everything Version 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.67
FreeCommander XE 2024 Build 905 64-bit donor

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 31 guests