DavidMetcalfe / USB-drive-mounted-check

Return the drive letter of a matching drive name

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Return the drive letter of a matching drive name


Languages

Language:Python 100.0%