How to access names of external drive from path?

2 ビュー (過去 30 日間)
Liam Theveny
Liam Theveny 2019 年 6 月 28 日
コメント済み: Liam Theveny 2019 年 6 月 28 日
I need to access the name of an external hard drive from the path name (i.e. the name of the drive that is associated with the F:\ path) . Is this possible?

採用された回答

dpb
dpb 2019 年 6 月 28 日
編集済み: dpb 2019 年 6 月 28 日
That's an OS command -- on Windows there's "VOL"
>> !vol
Volume in drive C is OS
Volume Serial Number is ...
>>
  1 件のコメント
Liam Theveny
Liam Theveny 2019 年 6 月 28 日
Thank you, looks good!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStatistics and Machine Learning Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by