GetDrives

Get Windows drive letters and other file system roots
2.9K Downloads
Updated 1 Sep 2016

View License

List the drive letters on your Microsoft Windows computer. On UNIX (including Macintosh) it returns simply "/," the root of the single filesystem.

Cite As

Robert Gilmore (2024). GetDrives (https://www.mathworks.com/matlabcentral/fileexchange/1082-getdrives), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Search Path in Help Center and MATLAB Answers
Acknowledgements

Inspired: Dicom Operator - EsmeProcess

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.3.0.1

Updated license

1.3.0.0

Short-circuit on non-Windows platforms. Code cleanup and copyright update.