hyunkeru Posted November 29, 2010 Share Posted November 29, 2010 I've created a multiboot DVD with XP Home Retail, Oem, Upgrade, SP0, 1, 2, 3. The DVD is working fine, except some of the function keys are messed up somehow. Sometimes I have to press it twice to react or sometimes it just not working at all. Here is the screenshot of my boot menu and the cdshell.ini. When I press "S", it suppose to go to menu where select Retail, Oem or Upgrade. "1" to select SP1, "7" to select SP2 with IE7 Slipstreamed, etc... I know what the problem is, but I just don't know how to fix it. The problem is all the lines with "goto" When I played around with those lines, that problems occur. What do I suppose to put after goto. I suck at programming, I tried to read the manual for cdshell. I just don't really get it.boot:clsprint "Press any key to boot from DVD..... \n"getkey 10 boot 0x80if $lastKey == key[`]; then goto Menuif $lastKey == key[0]; then goto Menuif $lastKey == key[1]; then goto Menuif $lastKey == key[2]; then goto Menuif $lastKey == key[3]; then goto Menuif $lastKey == key[4]; then goto Menuif $lastKey == key[5]; then goto Menuif $lastKey == key[6]; then goto Menuif $lastKey == key[7]; then goto Menuif $lastKey == key[8]; then goto Menuif $lastKey == key[9]; then goto Menuif $lastKey == key[-]; then goto Menuif $lastKey == key[=]; then goto Menuif $lastKey == key[1]; then goto Menuif $lastKey == key[q]; then goto Menuif $lastKey == key[w]; then goto Menuif $lastKey == key[e]; then goto Menuif $lastKey == key[r]; then goto Menuif $lastKey == key[t]; then goto Menuif $lastKey == key[y]; then goto Menuif $lastKey == key; then goto Menuif $lastKey == key; then goto Menuif $lastKey == key[o]; then goto Menuif $lastKey == key[p]; then goto Menuif $lastKey == key[\]; then goto Menuif $lastKey == key[a]; then goto Menuif $lastKey == key; then goto Menuif $lastKey == key[d]; then goto Menuif $lastKey == key[f]; then goto Menuif $lastKey == key[g]; then goto Menuif $lastKey == key[h]; then goto Menuif $lastKey == key[j]; then goto Menuif $lastKey == key[k]; then goto Menuif $lastKey == key[l]; then goto Menuif $lastKey == key[enter]; then goto Menuif $lastKey == key[z]; then goto Menuif $lastKey == key[x]; then goto Menuif $lastKey == key[c]; then goto Menuif $lastKey == key[v]; then goto Menuif $lastKey == key; then goto Menuif $lastKey == key[n]; then goto Menuif $lastKey == key[m]; then goto Menuif $lastKey == key[,]; then goto Menuif $lastKey == key[.]; then goto Menuif $lastKey == key[/]; then goto Menuif $lastKey == key[ESC]; then goto Menuif $lastKey == key[F1]; then goto Menuif $lastKey == key[F2]; then goto Menuif $lastKey == key[F3]; then goto Menuif $lastKey == key[F4]; then goto Menuif $lastKey == key[F5]; then goto Menuif $lastKey == key[F6]; then goto Menuif $lastKey == key[F7]; then goto Menuif $lastKey == key[F8]; then goto Menuif $lastKey == key[F9]; then goto Menuif $lastKey == key[F10]; then goto Menuif $lastKey == key[F11]; then goto Menuif $lastKey == key[F12]; then goto Menuif $lastKey == key[HOME]; then goto Menuif $lastKey == key[iNS]; then goto Menuif $lastKey == key; then goto Menuif $lastKey == key[MOUSE]; then goto Menuif $lastKey == key[PGDN]; then goto Menuif $lastKey == key[PGUP]; then goto Menuif $lastKey == key; then goto Menuif $lastKey == key[sPACE]; then goto Menuif $lastKey == key[TAB]; then goto Menuif $lastKey == key[uP]; then goto Menuif $lastKey == key[DOWN]; then goto Menuif $lastKey == key[bACK] then goto Menuif $lastKey == key[bRACKET]; then goto Menuif $lastKey == key[DEL]; then goto Menu# When no key found...goto boot# Windows XP Home Edition AIOMenu:show image graphics\Hmain.csigetkey 20 boot 0x80if $lastKey == key; then goto HSelectif $lastKey == key[h]; then goto HHelpif $lastKey == key; then rebootif $lastKey == key[a]; then boot 0x80if $lastKey == key[ESC]; then boot 0x80goto MenuHSelect:show image graphics\Hselect.csigetkey 20 boot 0x80if $lastKey == key[o]; then goto Home_Oemif $lastKey == key[r]; then goto Home_Retailif $lastKey == key; then goto Home_Upgradeif $lastKey == key; then goto HSelectif $lastKey == key[h]; then goto HHelpif $lastKey == key; then rebootif $lastKey == key[h]; then goto HHelpif $lastKey == key[k]; then goto Menuif $lastKey == key[ESC]; then boot 0x80goto HSelectHome_Retail:show image graphics\Hre.csigetkey 20 goto Menuif $lastKey == key[0]; then goto HRE0Iif $lastKey == key[1]; then goto HRE1Iif $lastKey == key[2]; then goto HRE2Iif $lastKey == key[7]; then goto HRE2ISif $lastKey == key[3]; then goto HRE3Iif $lastKey == key[8]; then goto HRE3ISif $lastKey == key[o]; then goto Home_Oemif $lastKey == key[r]; then goto Home_Retailif $lastKey == key; then goto Home_Upgradeif $lastKey == key; then goto HSelectif $lastKey == key[h]; then goto HHelpif $lastKey == key; then rebootif $lastKey == key[k]; then goto HSelectif $lastKey == key[ESC]; then boot 0x80goto Home_RetailHRE0I:show image graphics\HRE0I.csigetkey 20 goto Menuif $lastKey == key[e]; then chain /PHR0.BINif $lastKey == key[m]; then chain /HR0S.BINif $lastKey == key[n]; then chain /HR0U.BINif $lastKey == key[o]; then goto Home_Oemif $lastKey == key[r]; then goto Home_Retailif $lastKey == key; then goto Home_Upgradeif $lastKey == key; then goto HSelectif $lastKey == key[h]; then goto HHelpif $lastKey == key[k]; then goto Home_Retailif $lastKey == key[ESC]; then boot 0x80goto HRE0IHRE1I:show image graphics\HRE1I.csigetkey 20 goto Menuif $lastKey == key[e]; then chain /PHR1.BINif $lastKey == key[m]; then chain /HR1S.BINif $lastKey == key[n]; then chain /HR1U.BINif $lastKey == key[o]; then goto Home_Oemif $lastKey == key[r]; then goto Home_Retailif $lastKey == key; then goto Home_Upgradeif $lastKey == key; then goto HSelectif $lastKey == key; then rebootif $lastKey == key[h]; then goto HHelpif $lastKey == key[k]; then goto Home_Retailif $lastKey == key[ESC]; then boot 0x80goto HRE1IHRE2I:show image graphics\HRE2I.csigetkey 20 goto Menuif $lastKey == key[e]; then chain /PHR2.BINif $lastKey == key[m]; then chain /HR2S.BINif $lastKey == key[n]; then chain /HR2U.BINif $lastKey == key[o]; then goto Home_Oemif $lastKey == key[r]; then goto Home_Retailif $lastKey == key; then goto Home_Upgradeif $lastKey == key; then goto HSelectif $lastKey == key; then rebootif $lastKey == key[h]; then goto HHelpif $lastKey == key[k]; then goto Home_Retailif $lastKey == key[ESC]; then boot 0x80goto HRE2IHRE2IS:show image graphics\HRE2I.csigetkey 20 goto Menuif $lastKey == key[e]; then chain /PHR2.BINif $lastKey == key[m]; then chain /R21S.BINif $lastKey == key[n]; then chain /R21U.BINif $lastKey == key[o]; then goto Home_Oemif $lastKey == key[r]; then goto Home_Retailif $lastKey == key; then goto Home_Upgradeif $lastKey == key; then goto HSelectif $lastKey == key; then rebootif $lastKey == key[h]; then goto HHelpif $lastKey == key[k]; then goto Home_Retailif $lastKey == key[ESC]; then boot 0x80goto HRE2ISHRE3I:show image graphics\HRE3I.csigetkey 20 goto Menuif $lastKey == key[e]; then chain /PHR3.BINif $lastKey == key[m]; then chain /HR3S.BINif $lastKey == key[n]; then chain /HR3U.BINif $lastKey == key[o]; then goto Home_Oemif $lastKey == key[r]; then goto Home_Retailif $lastKey == key; then goto Home_Upgradeif $lastKey == key; then goto HSelectif $lastKey == key; then rebootif $lastKey == key[h]; then goto HHelpif $lastKey == key[k]; then goto Home_Retailif $lastKey == key[ESC]; then boot 0x80goto HRE3IHRE3IS:show image graphics\HRE2I.csigetkey 20 goto Menuif $lastKey == key[e]; then chain /HR3I.BINif $lastKey == key[m]; then chain /R31S.BINif $lastKey == key[n]; then chain /R31U.BINif $lastKey == key[o]; then goto Home_Oemif $lastKey == key[r]; then goto Home_Retailif $lastKey == key; then goto Home_Upgradeif $lastKey == key; then goto HSelectif $lastKey == key; then rebootif $lastKey == key[h]; then goto HHelpif $lastKey == key[k]; then goto Home_Retailif $lastKey == key[ESC]; then boot 0x80goto HRE3ISHome_Oem:show image graphics\hoe.csigetkey 20 goto Menuif $lastKey == key[0]; then goto HOE0Iif $lastKey == key[1]; then goto HOE1Iif $lastKey == key[2]; then goto HOE2Iif $lastKey == key[7]; then goto HOE2ISif $lastKey == key[3]; then goto HOE3Iif $lastKey == key[8]; then goto HOE3ISif $lastKey == key[o]; then goto Home_Oemif $lastKey == key[r]; then goto Home_Retailif $lastKey == key; then goto Home_Upgradeif $lastKey == key; then goto HSelectif $lastKey == key; then rebootif $lastKey == key[h]; then goto HHelpif $lastKey == key[k]; then goto Selectif $lastKey == key[ESC]; then boot 0x80goto Home_OemHOE0I:show image graphics\HOE0I.csigetkey 20 goto Menuif $lastKey == key[e]; then chain /PHO0.BINif $lastKey == key[m]; then chain /HO0S.BINif $lastKey == key[n]; then chain /HO0U.BINif $lastKey == key[o]; then goto Home_Oemif $lastKey == key[r]; then goto Home_Retailif $lastKey == key; then goto Home_Upgradeif $lastKey == key; then goto HSelectif $lastKey == key; then rebootif $lastKey == key[h]; then goto HHelpif $lastKey == key[k]; then goto Home_Oemif $lastKey == key[ESC]; then boot 0x80goto HOE0IHOE1I:show image graphics\HOE1I.csigetkey 20 goto Menuif $lastKey == key[e]; then chain /PHO1.BINif $lastKey == key[m]; then chain /HO1S.BINif $lastKey == key[n]; then chain /HO1U.BINif $lastKey == key[o]; then goto Home_Oemif $lastKey == key[r]; then goto Home_Retailif $lastKey == key; then goto Home_Upgradeif $lastKey == key; then goto HSelectif $lastKey == key; then rebootif $lastKey == key[h]; then goto HHelpif $lastKey == key[k]; then goto Home_Oemif $lastKey == key[ESC]; then boot 0x80goto HOE1IHOE2I:show image graphics\HOE2I.csigetkey 20 goto Menuif $lastKey == key[e]; then chain /PHO2.BINif $lastKey == key[m]; then chain /HO2S.BINif $lastKey == key[n]; then chain /HO2U.BINif $lastKey == key[o]; then goto Home_Oemif $lastKey == key[r]; then goto Home_Retailif $lastKey == key; then goto Home_Upgradeif $lastKey == key; then goto HSelectif $lastKey == key; then rebootif $lastKey == key[h]; then goto HHelpif $lastKey == key[k]; then goto Home_Oemif $lastKey == key[ESC]; then boot 0x80goto HOE2IHOE2IS:show image graphics\HOE2I.csigetkey 20 goto Menuif $lastKey == key[e]; then chain /HO2I.BINif $lastKey == key[m]; then chain /O21S.BINif $lastKey == key[n]; then chain /O21U.BINif $lastKey == key[o]; then goto Home_Oemif $lastKey == key[r]; then goto Home_Retailif $lastKey == key; then goto Home_Upgradeif $lastKey == key; then goto HSelectif $lastKey == key; then rebootif $lastKey == key[h]; then goto HHelpif $lastKey == key[k]; then goto Home_Oemif $lastKey == key[ESC]; then boot 0x80goto HOE2ISHOE3I:show image graphics\HOE3I.csigetkey 20 goto Menuif $lastKey == key[e]; then chain /PHO3.BINif $lastKey == key[m]; then chain /HO3S.BINif $lastKey == key[n]; then chain /HO3U.BINif $lastKey == key[o]; then goto Home_Oemif $lastKey == key[r]; then goto Home_Retailif $lastKey == key; then goto Home_Upgradeif $lastKey == key; then goto HSelectif $lastKey == key; then rebootif $lastKey == key[h]; then goto HHelpif $lastKey == key[k]; then goto Home_Oemif $lastKey == key[ESC]; then boot 0x80goto HOE3IHOE3IS:show image graphics\HOE3I.csigetkey 20 goto Menuif $lastKey == key[e]; then chain /HO3I.BINif $lastKey == key[m]; then chain /O31S.BINif $lastKey == key[n]; then chain /O31U.BINif $lastKey == key[o]; then goto Home_Oemif $lastKey == key[r]; then goto Home_Retailif $lastKey == key; then goto Home_Upgradeif $lastKey == key; then goto HSelectif $lastKey == key; then rebootif $lastKey == key[h]; then goto HHelpif $lastKey == key[k]; then goto Home_Oemif $lastKey == key[ESC]; then boot 0x80goto HOE3ISHome_Upgrade:show image graphics\Hue.csigetkey 20 goto Menuif $lastKey == key[0]; then goto HUE0Iif $lastKey == key[1]; then goto HUE1Iif $lastKey == key[2]; then goto HUE2Iif $lastKey == key[7]; then goto HUE2ISif $lastKey == key[3]; then goto HUE3Iif $lastKey == key[8]; then goto HUE3ISif $lastKey == key[o]; then goto Home_Oemif $lastKey == key[r]; then goto Home_Retailif $lastKey == key; then goto Home_Upgradeif $lastKey == key; then goto HSelectif $lastKey == key; then rebootif $lastKey == key[h]; then goto HHelpif $lastKey == key[k]; then goto HSelectif $lastKey == key[ESC]; then boot 0x80goto Home_UpgradeHUE0I:show image graphics\HUE0I.csigetkey 20 goto Menuif $lastKey == key[e]; then chain /PHU0.BINif $lastKey == key[m]; then chain /HU0S.BINif $lastKey == key[n]; then chain /HU0U.BINif $lastKey == key[o]; then goto Home_Oemif $lastKey == key[r]; then goto Home_Retailif $lastKey == key; then goto Home_Upgradeif $lastKey == key; then goto HSelectif $lastKey == key; then rebootif $lastKey == key[h]; then goto HHelpif $lastKey == key[k]; then goto Home_Upgradeif $lastKey == key[ESC]; then boot 0x80goto HUE0IHUE1I:show image graphics\HUE1I.csigetkey 20 goto Menuif $lastKey == key[e]; then chain /PHU1.BINif $lastKey == key[m]; then chain /HU1S.BINif $lastKey == key[n]; then chain /HU1U.BINif $lastKey == key[o]; then goto Home_Oemif $lastKey == key[r]; then goto Home_Retailif $lastKey == key; then goto Home_Upgradeif $lastKey == key; then goto HSelectif $lastKey == key; then rebootif $lastKey == key[h]; then goto HHelpif $lastKey == key[k]; then goto Home_Upgradeif $lastKey == key[ESC]; then boot 0x80goto HUE1IHUE2I:show image graphics\HUE2I.csigetkey 20 goto Menuif $lastKey == key[e]; then chain /PHU2.BINif $lastKey == key[m]; then chain /HU2S.BINif $lastKey == key[n]; then chain /HU2U.BINif $lastKey == key[o]; then goto Home_Oemif $lastKey == key[r]; then goto Home_Retailif $lastKey == key; then goto Home_Upgradeif $lastKey == key; then goto HSelectif $lastKey == key; then rebootif $lastKey == key[h]; then goto HHelpif $lastKey == key[k]; then goto Home_Upgradeif $lastKey == key[ESC]; then boot 0x80goto HUE2IHUE2IS:show image graphics\HUE2I.csigetkey 20 goto Menuif $lastKey == key[e]; then chain /HU2I.BINif $lastKey == key[m]; then chain /U21S.BINif $lastKey == key[n]; then chain /U21U.BINif $lastKey == key[o]; then goto Home_Oemif $lastKey == key[r]; then goto Home_Retailif $lastKey == key; then goto Home_Upgradeif $lastKey == key; then goto HSelectif $lastKey == key; then rebootif $lastKey == key[h]; then goto HHelpif $lastKey == key[k]; then goto Home_Upgradeif $lastKey == key[ESC]; then boot 0x80goto HUE2ISHUE3I:show image graphics\HUE3I.csigetkey 20 goto Menuif $lastKey == key[e]; then chain /PHU3.BINif $lastKey == key[m]; then chain /HU3S.BINif $lastKey == key[n]; then chain /HU3U.BINif $lastKey == key[o]; then goto Home_Oemif $lastKey == key[r]; then goto Home_Retailif $lastKey == key; then goto Home_Upgradeif $lastKey == key; then goto HSelectif $lastKey == key; then rebootif $lastKey == key[h]; then goto HHelpif $lastKey == key[k]; then goto Home_Upgradeif $lastKey == key[ESC]; then boot 0x80goto HUE3IHUE3IS:show image graphics\HUE3I.csigetkey 20 goto Menuif $lastKey == key[e]; then chain /HU3I.BINif $lastKey == key[m]; then chain /U31S.BINif $lastKey == key[n]; then chain /U31U.BINif $lastKey == key[o]; then goto Home_Oemif $lastKey == key[r]; then goto Home_Retailif $lastKey == key; then goto Home_Upgradeif $lastKey == key; then goto HSelectif $lastKey == key; then rebootif $lastKey == key[h]; then goto HHelpif $lastKey == key[k]; then goto Home_Upgradeif $lastKey == key[ESC]; then boot 0x80goto HUE3ISHHelp:show image graphics\HHELP.csigetkey 20 goto Menuif $lastKey == key[o]; then goto Home_Oemif $lastKey == key[r]; then goto Home_Retailif $lastKey == key; then goto Home_Upgradeif $lastKey == key; then goto HSelectif $lastKey == key; then rebootif $lastKey == key[h]; then goto HHelpif $lastKey == key[k]; then goto Menuif $lastKey == key[ESC]; then boot 0x80goto HHelpend Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now