Nath Posted August 27, 2004 Share 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 ... Link to comment Share on other sites More sharing options...
Lucius Snow Posted August 27, 2004 Share 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 Link to comment Share on other sites More sharing options...
Nath Posted August 28, 2004 Author Share Posted August 28, 2004 Thank Lucius anyway i'll try to find some exemples Link to comment Share on other sites More sharing options...
prathapml Posted August 28, 2004 Share 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. 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