我一直在努力编写一个脚本,该脚本将从驱动器的其他属性中找到驱动器索引号。脚本如下:@echooffREMbatchfiletoloadVeracryptSet"driveIndex="for/f"skip=1tokens=1delims="%%ain('wmicdiskdrivewhere"model='WDElements1078USBDevice'"getindex')doSETdriveIndex=%%a&gotoreportLetter:reportLetterifnotdefineddriveIndex(echoErrorOccured!pauseexit)else(echo