We re-install the system into the WinPE system, in different computers, the drive letter is different, and some computer USB drive letter is C, which gives us the system to bring a lot of inconvenience, so, fixed USB drive letter is necessary. Now for you to introduce the fixed USB drive letter two methods, provided that the WinPE system starts to recognize your USB flash drive, if the WinPE system does not recognize your USB flash drive, you can use show command in the INI file to assign a drive letter to the USB stick.
Method One:
1, in a certain location of the U disk to place an INI file, temporarily named "Changeusb.ini", placed in the root directory of the U disk, INI file only need two lines (red for comment):
SUBJ%curdrv%//delete the drive letter of the original USB drive
Show R:1,u//to the U disk new allocation drive letter for you:
2, add a line of load command in the kernel configuration file of WinPE, this line load command is recommended to fix the USB drive, the "Changeusb.ini" file on the USB flash drive is automatically loaded by the leader of the load command.
3, this method is applicable to the WinPE system startup can identify the situation of the U disk, if the WinPE system does not recognize your USB flash drive, you can use the PECMD.EXE Show command to assign the drive letter to the U disk.
4. If your USB drive already has INI file, you can merge these two lines into the existing INI file.
Method Two:
Take advantage of the init command's u parameter.
1, the init command to the kernel configuration file Pecmd.ini of WinPE plus u parameter;
2. Add the following two lines of code in the appropriate place after executing the init command (Red is commented):
TEAM subj%usb%|show r:1,u//delete the drive letter of the original USB drive and reassign the drive letter to U
TEAM ENVI $USB =u:|envi $USB 1=u://Reset two environment variables related to USB drive letter
3, method Two principle and method one is consistent, the advantage is not on the U disk to place the INI file, the results obtained are the same as the method.