06-30-2015 03:20 AM
Hi everybody,
I'm posting this small vi I've made, I've not find the same function developed here.
Basically it returns the current user's Dropbox path, very useful if you're syncing files between users in that way.
I've tested it on windows7 both 32 and 64bit, it is probably working under win8 also.
I've not tested under xp or others, file structure may be different, so it could not work properly.
Bye!
06-30-2015 04:02 AM
Thanks, unfortunately I can't test it now.
Might I suggest to move the code before the case structure into the true case? Seems like a lot less wiring that way. (It's a bit of a rube now...)
06-30-2015 07:27 AM
Half accepted: I'm not sure that in all 32bit systems the file of interest sits in "Local" instead of "Roaming": for sure in most cases it stays in "Roaming", so till it's not verified I prefer test the existance in Roaming first.
BTW I've combed a little the wiring 🙂
Ciao!
06-30-2015 10:35 AM - edited 06-30-2015 10:37 AM
When all else fails, I use the old Windows XP path to the same place. Windows (7, at least) has a shortcut that redirects you to the appropriate place. That way, it's backwards-compatible, too! (Which is precisely why they have the shortcut.)