Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

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/

share|improve this answer
    
That's it. Cool. Thank you. –  rossmcm Aug 17 '10 at 21:35
    
Well, have a look into the dropbox.db file. It will be worth it. –  Andreas Aug 17 '10 at 21:40
add comment

I think it is stored base64 encoded in the SQLite database file located at

%APPDATA%\Dropbox\dropbox.db (Win7/Vista)

Table config column dropbox_path data format is V<dropboxpath>\np1\n. (where \n is newline char).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.