@USB[d:] : Returns 1 if the specified drive letter is a USB drive.

 

Examples:

 

echo %@usb[d:]

0

 

echo %@usb[h:]

1