Nath Posted August 27, 2004 Posted August 27, 2004 Hi everybody In CdShell# When no key found...goto bootMy question is .. it's possible to put a variable like wait or someting else, or remove this variable .MerciIs there a forum like this one but in french ...
Lucius Snow Posted August 27, 2004 Posted August 27, 2004 I don't know really. Here is the content of my cdshell.ini, it might help you. You can find other examples on the forum ...boot:clsprint "\n"print "Appuyer sur Entree pour demarrer sur le CD ... \n"getkey 5 boot 0x80if $lastKey == key[enter]; then goto time# When no key found...goto boot# Function to display time of daytime:set hour = $timeHourset time = "$hour:$timeMinute"# Function to display datedate:set month = "n/a"if $dateMonth == 1; then set month = "janvier"if $dateMonth == 2; then set month = "fevrier"if $dateMonth == 3; then set month = "mars"if $dateMonth == 4; then set month = "avril"if $dateMonth == 5; then set month = "mai"if $dateMonth == 6; then set month = "juin"if $dateMonth == 7; then set month = "juillet"if $dateMonth == 8; then set month = "aout"if $dateMonth == 9; then set month = "septembre"if $dateMonth == 10; then set month = "octobre"if $dateMonth == 11; then set month = "novembre"if $dateMonth == 12; then set month = "decembre"set date = "$dateDay $month $dateYear"# Printing the Interfacemenu:set textColor= color[grey on black]set boldColor= color[cyan on black]clsprint c "\n\cXXÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ<\c0B$date $time\cXX>ÄÄ \n\n"print c "\cXXWindows XP Professionnel Service Pack 2\n\n"print c "\cXXÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ \n\n"print "1) Installation normale \n"print "2) Installation automatique \n"print "3) Redemarrer l'ordinateur \n"print c "\n"MainKey:getkey 20 boot 0x80if $lastKey == key[1]; then chain /PRO1.DATif $lastKey == key[2]; then chain /PRO2.DATif $lastKey == key[3]; then rebootend
Nath Posted August 28, 2004 Author Posted August 28, 2004 Thank Lucius anyway i'll try to find some exemples
prathapml Posted August 28, 2004 Posted August 28, 2004 CDshell's text-mode nature is quite difficult at times.Try EasyBoot to make your multi-boot CD's boot-loader.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now