Not knowing the destination of USB in CMD
问题 I am trying to copy files from my USB drive to my PC automatically by using a batch file (.bat) I know I can do something like that xcopy "C:\xxxx\xxxx\xxxx.xxx" "C:\xxxx\xxx\xxxx\xxx.exe" /E /H /I But I faced a little problem... What if I don't know the exact letter of the drive, where the USB is inserted? How am I able to copy those files automatically? If this is possible, can someone please post a simple "xcopy" command from USB to PC. Thanks! 回答1: Can you add a generic file to the root