dropboxPath.m
This function returns the path to the Dropbox folder of the current user (if it exists).
This is read from the dropbox host.db database, assuming it is in the default location.
for unix/mac
~/.dropbox/host.db
for windows
%APPDATA%\Dropbox\host.db
Base 64 decode used code from "Byte encoding utilities" (File ID: #39526).
Tested on OSX 10.9 and Win 7 with Dropbox 2.10.27 (personal account only, I have no idea what host.db looks like for business account).
Cita come
christhechris (2024). dropboxPath.m (https://www.mathworks.com/matlabcentral/fileexchange/47644-dropboxpath-m), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- MATLAB > Programming > Files and Folders > File Name Construction >
- MATLAB > External Language Interfaces > Other languages > DropBox >
Tag
Riconoscimenti
Ispirato da: Byte encoding utilities
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.