dropboxPath.m

バージョン 1.1.0.0 (1.13 KB) 作成者: christhechris
Get path to dropbox folder of current user.
ダウンロード: 447
更新 2014/8/28

ライセンスの表示

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).

引用

christhechris (2025). dropboxPath.m (https://jp.mathworks.com/matlabcentral/fileexchange/47644-dropboxpath-m), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2014a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersFilename Construction についてさらに検索
タグ タグを追加
謝辞

ヒントを得たファイル: Byte encoding utilities

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.1.0.0

You can add arguments in similar style to fullfile to get a path within a dropbox folder, i.e.
dbpath = dropboxPath(filepart1,...,filepartN).

Note this requires the "strjoin" added in 2013a.

1.0.0.0