Using the KeyFileAssoc with the autostart

Discussions (excluding Support)
6 messages • Page 1 sur 1

Using the KeyFileAssoc with the autostart

Messagede RaceMachine » 04 Octobre 2010, 10:57

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!
RaceMachine
Fresh Boarder
Fresh Boarder
 
Messages: 5
Inscription: 04 Novembre 2009, 18:48

Re: Using the KeyFileAssoc with the autostart

Messagede skybird » 04 Octobre 2010, 11:34

Hello RaceMachine.

RaceMachine a écrit:Does a parameter exist which automatically activates the file associations when I start the apllication?

Yes, "/apply"
Code: Tout sélectionner
KeyFileAssoc.exe /apply
skybird
Gold Boarder
Gold Boarder
 
Messages: 1766
Inscription: 10 Octobre 2007, 10:45

Re: Using the KeyFileAssoc with the autostart

Messagede Lockszmith » 04 Octobre 2010, 22:19

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)
Avatar de l’utilisateur
Lockszmith
Junior Boarder
Junior Boarder
 
Messages: 75
Inscription: 14 Juin 2009, 21:54

Re: Using the KeyFileAssoc with the autostart

Messagede RaceMachine » 05 Octobre 2010, 09:42

Thank you guys!
That's exactly what I searched for :-)
RaceMachine
Fresh Boarder
Fresh Boarder
 
Messages: 5
Inscription: 04 Novembre 2009, 18:48

Re: Using the KeyFileAssoc with the autostart

Messagede RaceMachine » 08 Octobre 2010, 15:53

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
RaceMachine
Fresh Boarder
Fresh Boarder
 
Messages: 5
Inscription: 04 Novembre 2009, 18:48

Re: Using the KeyFileAssoc with the autostart

Messagede skybird » 08 Octobre 2010, 16:06

Hello.

RaceMachine a écrit:exists a parameter to close the "KeyFileAssoc.exe" smoothly within a batch file?

Code: Tout sélectionner
KeyFileAssoc.exe /close

and
Code: Tout sélectionner
KeyFileAssoc.exe /restore

Disable file associations but keep KFA process.

RaceMachine a écrit: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).
skybird
Gold Boarder
Gold Boarder
 
Messages: 1766
Inscription: 10 Octobre 2007, 10:45


6 messages • Page 1 sur 1

Retourner vers General discussions

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 106 invités

cron