in the start of the USB flash drive, we will generally make the PE ISO format, the following for you to provide a direct production of PE ISO source code:
@Echo of
COLOR 1e
Set prog= boot ISO image maker
Set L1=╭══════════════════╮
Set L2=║║
Set L3=╭══┤%prog%├══╮
Set L4=║║║║
Set L5=║╰══════════════════╯║
Set L6=║║
Set l7=╟════════════════════════╢
Set L8=║ All rights reserved: Caomaolbl║
Set L9=╰────────────────────────╯
Title%prog%
:: Checkos
if/i not "%os%." = = "Windows_NT." Goto Systemerro
:: Determine the system version and set Theos
ver|find/i "6.1" >nul &&set winver=win7&& set theos=win7
ver|find/i "6.0" >nul &&set winver=vista&& set Theos=vista
ver|find/i "5.0" >nul &&set winver=winnt&& set theos=2000
ver|find/i "5.1" >nul &&set winver=winnt&& set THEOS=XP
ver|find/i "5.2" >nul &&set winver=winnt&& set theos=2003
Goto Start
: Systemerro
Cls
Echo.
Echo.
Echo NOTE: This software may not be available for non-Windows pe/2000/xp/2003/vista/win7 operating systems without testing.
Echo Press ENTER to exit the Setup program
Pause >nul
Exit
: Start
Title%prog%--Production
Cls
Echo.
Echo%l1%
Echo%l2%
Echo%l3%
Echo%l4%
Echo%l5%
Echo%l6%
Echo║ Please choose how to build: ║
Echo%l6%
ECHO║[1] Generate grub4dos English launch ISO image ║
ECHO║[2] Generate grub4dos Chinese version of the boot ISO image ║
ECHO║[3] Generate grub4dosgfxmenu boot ISO image ║
ECHO║[4] Generate isolinux boot ISO image ║
ECHO║[5] Generate ISO format PE kernel ISO image ║
ECHO║[6] generates a pure PE boot ISO image ║
ECHO║[7] Generate ezboot boot ISO image ║
ECHO║[8] Generate bootmgr boot ISO image ║
ECHO║[Q] Exit ║
Echo%l6%
Echo%l7%
Echo%l8%
Echo%l9%
Echo.
echo You are now using the Windows%theos% operating system!
Echo.
:: Set choice=
set/p choice= Select the action you want to take (1/2/3/4/5/6/7/8/q), and then press ENTER:
If "%choice%" = = "" GOTO Start
If not "%choice%" = = "" SET choice=%choice:~0,1%
if/i "%choice%" = = "1" GOTO Gruben
if/i "%choice%" = = "2" GOTO Grubchs
if/i "%choice%" = = "3" GOTO grubgfx
if/i "%choice%" = = "4" GOTO Isolinux
if/i "%choice%" = = "5" GOTO Neihe
if/i "%choice%" = = "6" GOTO Peiso
if/i "%choice%" = = "7" GOTO Ezboot
if/i "%choice%" = = "8" GOTO Bootmgr
if/i "%choice%" = "Q" EXIT
Goto Start
: GrubenChinese Cabbage official website
Binoscdimg.exe-h-m-o-d-l "Gruben"-n-b "bingrldr.bif"-t03/09/2010,00:00:00-x "Rojectgruben" "Gruben.iso"
Goto:success
: Grubchs
Binoscdimg.exe-h-m-o-d-l "Grubchs"-n-b "bingrchs.bif"-t03/09/2010,00:00:00-x "Rojectgrubchs" "Grubchs.iso"
Goto:success
: GRUBGFX
Binoscdimg.exe-h-m-o-d-l "grubgfx"-n-b "bingrgfx.bif"-t03/09/2010,00:00:00-x "rojectgrubgfx" "Grubgfx.iso"
Goto:success
: Isolinux
Binoscdimg.exe-h-m-o-d-l "Isolinux"-n-b "Binisolinux.bin"-t03/09/2010,00:00:00-x "Rojectisolinux" "Isolinux.iso"
Goto:success
: Neihe
Binoscdimg.exe-h-m-o-L "WinPE"-n-t03/09/2010,00:00:00-x "Rojectneihe" "WinPE. ISO "
Goto:success
Eiso
Binoscdimg.exe-h-m-o-d-l "E"-n-b "Binpe.bin"-t03/09/2010,00:00:00-x "Rojectpeiso" "E.iso"
Goto:success
: Ezboot
Binoscdimg.exe-h-m-o-d-l "Ezboot"-n-b "Rojectezbootbootloader.bin"-t03/09/2010,00:00:00-x "RojectEZboot" "EZboot.i So
Goto:success
: Bootmgr
Binoscdimg.exe-h-m-o-d-l "NT6. X "-n-b" binbootmgr.bif "-t03/09/2010,00:00:00-x" projectnt6.x "" NT6. X.iso "
Goto:success
: Success
Title%prog%--production completed
Cls
Echo.
Echo. The ISO image has been successfully created, right in the current directory ...
Echo.
set/p cho= Return to the main menu continue making please enter Y, otherwise press ENTER (enter) to exit.
if/i "%cho%" = = "Y" Call:start
Exit