CODE: [Copy to clipboard]@echo off for /f "tokens=2 delims==" %%a in ('wmic LogicalDisk where "DriveType='2'" get * /value ^| findstr /i "^DeviceID"') do explorer %%a