How to you find out the location of the “My DropBox” folder

delphi-2007dropbox

The installation default for the Dropbox sync folder is [My documents]\My Dropbox. I recall that it is possible to choose other locations however. How can I find out at run-time from my D2006 app where the user has placed his/her Dropbox folder?

Best Answer

You can take a look at this post from the Dropbox forums: http://forums.dropbox.com/topic.php?id=9018

Previous poster was close, but it is stored in the host.db file. Sample path from my Win7 machine:

C:\Users\[user name]\AppData\Roaming\Dropbox\host.db

For testing, you can try out this online tool to see if you can successfully decode the base64 string: http://www.opinionatedgeek.com/dotnet/tools/base64decode/

Related Question