Using the KeyFileAssoc with the autostart

Discussions (excluding Support)
6 posts • Page 1 of 1

Using the KeyFileAssoc with the autostart

Postby RaceMachine » 04 October 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
 
Posts: 5
Joined: 04 November 2009, 18:48

Re: Using the KeyFileAssoc with the autostart

Postby skybird » 04 October 2010, 11:34

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
skybird
Gold Boarder
Gold Boarder
 
Posts: 1766
Joined: 10 October 2007, 10:45

Re: Using the KeyFileAssoc with the autostart

Postby Lockszmith » 04 October 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)
User avatar
Lockszmith
Junior Boarder
Junior Boarder
 
Posts: 75
Joined: 14 June 2009, 21:54

Re: Using the KeyFileAssoc with the autostart

Postby RaceMachine » 05 October 2010, 09:42

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

Re: Using the KeyFileAssoc with the autostart

Postby RaceMachine » 08 October 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
 
Posts: 5
Joined: 04 November 2009, 18:48

Re: Using the KeyFileAssoc with the autostart

Postby skybird » 08 October 2010, 16:06

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).
skybird
Gold Boarder
Gold Boarder
 
Posts: 1766
Joined: 10 October 2007, 10:45


6 posts • Page 1 of 1

Return to General discussions

Who is online

Users browsing this forum: No registered users and 45 guests

cron