martin26uk Posted April 7, 2007 Share Posted April 7, 2007 (edited) I've changed the DVD text that shows when the DVD starts from Press Enter to boot from DVD...toPress ENTER to go to the Menu SystemIf you've started installing XP please WAIT for another30 Seconds for the installation to automatically continueNow i want to add thisTo boot from the Hard Drive press Escso i added this but it doesnt workif $lastKey == key[esc]; then clsAlso tried thisif $lastKey == key[esc]; then goto bootWhole thing looks like thisboot:clsprint "\n\n\n\n\n\n\n\n\n\n\n\n"set textColor= color[brightgreen on black]print c "Press ENTER to go to the Menu System \n"print "\n"set textColor= color[brightred on black]print c "If you've started installing XP please WAIT for another \n"print c "30 Seconds for the installation to automatically continue \n"getkey 30 boot 0x80if $lastKey == key[enter]; then script menus/rootmenu.scnif $lastKey == key[esc]; then cls# When no key found...goto bootAny ideas - I just want to press ESC to boot from the hard drive Edited April 7, 2007 by martin26uk Link to comment Share on other sites More sharing options...
kubos Posted April 7, 2007 Share Posted April 7, 2007 (edited) if $lastKey == key[esc]; then boot 0x80where 0x80 is HDD0 and 0x81 is HDD1.also 0x00 or 0x20 is FDD, but i'm not sure O_o Edited April 7, 2007 by kubos Link to comment Share on other sites More sharing options...
martin26uk Posted April 10, 2007 Author Share Posted April 10, 2007 Cheers Pal - worked a treat Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now