Page 1 of 1
Using the KeyFileAssoc with the autostart

Posted:
04 October 2010, 10:57
by RaceMachine
Hello,
I want to use the "KeyFileAssoc" application during the autostart.
So, when the system starts the application starts too, but I always have to double-click on the tray icon to activate the file associations.
Does a parameter exist which automatically activates the file associations when I start the apllication?
I don't want to always start the LiberKey application, the file association apllication suffices my needs for about 80%...
Thanks in advance.
Regards!
Re: Using the KeyFileAssoc with the autostart

Posted:
04 October 2010, 11:34
by skybird
Hello RaceMachine.
RaceMachine wrote:Does a parameter exist which automatically activates the file associations when I start the apllication?
Yes, "/apply"
- Code: Select all
KeyFileAssoc.exe /apply
Re: Using the KeyFileAssoc with the autostart

Posted:
04 October 2010, 22:19
by Lockszmith
There is also an easier way to do this:
In version 5, go to the LiberKey Tools --> LiberKey Configuration --> LiberKey Tools
in this screen you can change the the actions related to "Associate files to portable application" during startup and shutdown of the LiberKey.
No need for a shortcut or autorun entry (unless you don't want the to run the LiberKey menu)
Re: Using the KeyFileAssoc with the autostart

Posted:
05 October 2010, 09:42
by RaceMachine
Thank you guys!
That's exactly what I searched for

Re: Using the KeyFileAssoc with the autostart

Posted:
08 October 2010, 15:53
by RaceMachine
I have one additionl question: exists a parameter to close the "KeyFileAssoc.exe" smoothly within a batch file?
Of course I have a option to end the task with the taskmanager but if I do this I always get a message that the associations have been restored after I restart the program.
Thanks a lot.
Regards
Re: Using the KeyFileAssoc with the autostart

Posted:
08 October 2010, 16:06
by skybird
Hello.
RaceMachine wrote:exists a parameter to close the "KeyFileAssoc.exe" smoothly within a batch file?
- Code: Select all
KeyFileAssoc.exe /close
and
- Code: Select all
KeyFileAssoc.exe /restore
Disable file associations but keep KFA process.
RaceMachine wrote:Of course I have a option to end the task with the taskmanager but if I do this I always get a message that the associations have been restored.
The KFA process doesn't be kill because a work is done at its closure (restoration of default associations).