The method of setting U disk letter in WinPE

Source: Internet
Author: User
Tags ini advantage

Method One:

1, a U disk in a place to place an INI file, temporarily named "Changeusb.ini", placed in the root of U disk, INI file only need two lines (red for comment):

SUBJ%curdrv%//Delete the original USB disk letter

Show R:1,u//u disk new allocation letter for u:

2, in the WinPE kernel configuration file with a line of load command, this line of load command recommended after the fixed USB driver, through the load command leader "" Automatically load the "Changeusb.ini" file in the U disk.

3, this method is applicable to the WinPE system can be identified after the launch of the U disk, if the WinPE system can not recognize your USB drive after the boot, you may use the PECMD.EXE Show command to the U disk allocation letter.

4, if you have an INI disk, you can combine these two lines into an existing INI file.

Method Two:

Take advantage of the U parameter of the init command.

1, to the WinPE kernel configuration file pecmd.ini init command plus u parameter;

2. After executing the init command, add the following two lines of code (red for comment):

Team SUBJ%usb%|show r:1,u//delete original U disk letter and reassign the letter to U

Team ENVI $USB =u:|envi $USB 1=u://Reset two environment variables related to U disk letter

3, method Two principle and method one is consistent, the advantage is not to place the INI file on the U disk, the result is same with method one.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.