for /F "tokens=2 delims==" %%i in ('wmic logicaldisk where "drivetype=2" get name /format:value') do ( set "usb=%%i" call :BREAK
)
:BREAK
echo Your USB Drive is %usb%
NOTE: The "do" must be on the same line.
Source: Link Link
This is a places that post walk throughs, my thoughts, notes, and writes-ups. Although they worked for me, ***USE AT YOUR OWN RISK***!
for /F "tokens=2 delims==" %%i in ('wmic logicaldisk where "drivetype=2" get name /format:value') do ( set "usb=%%i" call :BREAK
)
:BREAK
echo Your USB Drive is %usb%