I am trying to use the diskpart error codes as triggers in my script.

Basically, I need to automatically assign a drive letter to a volume on a usb device but the volume # might change depending...