You are here

Launch KeePass and automatically open password file

9 posts / 0 new
Last post
brodiemac
Offline
Last seen: 10 years 3 months ago
Joined: 2008-11-10 20:12
Launch KeePass and automatically open password file

I know this can be done by having the .kdb file in the same location as the KeePass executable but I was wondering if there is a way to do this with the file in a different location? I have mine in a different directory to make backups easier but I still would like KeePass to launch and open the file simultaneously. Is that possible in the portable version?

Pyromaniac
Pyromaniac's picture
Offline
Last seen: 9 years 8 months ago
Developer
Joined: 2008-09-30 19:18
Not directly

but there are a few apps which allow portable file associations so when you click on a document, you can open it with a program other then the default on the host PC:

This includes eXpresso and PortableFileAssociator

The new PA Platform 2.0 will include file associations, in the future, though.

John T. Haller
John T. Haller's picture
Online
Last seen: 56 min 46 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Yes

You can set KeePass Portable to automatically open the last database you had open in the options. So, you just open KeePass Portable and it'll open your database automatically (no need to browse to it). The KeePass Portable launcher will make it so it will continue remembering it as the drive letter changes even if you have it in another directory (say X:\Documents). Give it a try.

Sometimes, the impossible can become possible, if you're awesome!

consul
consul's picture
Offline
Last seen: 1 year 2 months ago
Joined: 2007-05-02 13:47
since I first used it ...

that's how keepass worked for me. I would open keepass portable and it would ask me for my master password, and then it opens up properly to my passwords.

Don't be an uberPr∅. They are stinky.

brodiemac
Offline
Last seen: 10 years 3 months ago
Joined: 2008-11-10 20:12
That's odd

I have that option checked. At my work computer, it doesn't work (Windows 7). At home it does (Windows XP). Can anyone else confirm?

chinook9
Offline
Last seen: 14 years 2 months ago
Joined: 2010-10-14 10:25
I have the same problem here.

I have the same problem here. I copied the kdb file in my desktop portable file into the KeePass folder in PortableApps. It will work if I navigate to it and open it but it will not open automatically on starting KeePass. I checked the automatic open option but nothing changed. It did not open the file upon starting.

Please help. I'm sure I won't use it if I have to drill down to the kdb file every time.

chinook9
Offline
Last seen: 14 years 2 months ago
Joined: 2010-10-14 10:25
Solved my problem! I opened

Solved my problem!

I opened the kdb file by navigating to it. I did not make any changes, but before I closed Keypass I saved the file . I opened Keypass and the file was open ready for me to enter my password.

Hope this work for others.

John T. Haller
John T. Haller's picture
Online
Last seen: 56 min 46 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Location

Just don't put it anywhere in KeePassPortable\App. It'll get deleted on upgrade.

Sometimes, the impossible can become possible, if you're awesome!

Darkbee
Darkbee's picture
Offline
Last seen: 4 years 7 months ago
Joined: 2008-04-14 09:41
Alternative

Another solution is to make use of the launcher program you use and pass a parameter to Keepass that specifies the location of your Keepass database. Most launchers (and I don't know about PortableAppsMenu but I assume it does) support environment variables such that you can dynamically express the absolute path even when the drive letter changes.

This is the method I use, Keepass doesn't have to remember anything.

Log in or register to post comments