GetDrives

Get Windows drive letters and other file system roots

You are now following this Submission

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 (2026). GetDrives (https://nl.mathworks.com/matlabcentral/fileexchange/1082-getdrives), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Dicom Operator - EsmeProcess

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.3.0.1

Updated license

1.3.0.0

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