/USB-drive-mounted-check

Return the drive letter of a matching drive name

Primary LanguagePython

USB drive mounted check

Loops through available drives and returns the drive letter if one matches the given drive name. If none match, return 0.

Ideal for checking if a specific USB drive is mounted.