Hello,
With the issue description, I understand that you are experiencing with USB flash drive and getting error directory name invalid with various drive letters. I will certainly help you resolve the issue.
Method 1
I would suggest you to run the Hardware and Device troubleshooter
and check if it helps.
1. Press Windows Key +R, type Control Panel.
2. Type troubleshooting in the search bar, click on troubleshooting.
3. Click on Hardware and Sound, click on Hardware and Devices.
Method 2
1. Press Windows Key +R, type devmgmt.msc
2. Open Device Manager.
3. Expand the Universal Bus driver section and double-click on your USB drive to open its properties. Switch to the Driver tab . Click on
Disable then click on Enable.
If Method 1 or Method 2 doesn't work you may try to uninstall and reinstall
the driver in Method 3 and check if it helps.
Method 3
1. Press Windows Key +R, type devmgmt.msc.
2. Open Device Manager.
3. Expand the Universal Bus driver section and double-click on your USB drive to open its properties. Switch to the Driver and click on
Uninstall.
4. Confirm the action in the window that pops up.
5. Restart your computer. Your USB drive will be recognized by the computer as soon as you reboot and they will then be reinstalled.
Hope this information is helpful. Please do let us know if you need further assistance with Windows, we’ll be glad to assist you.