JohnSteven Posted November 16, 2004 Share Posted November 16, 2004 Hi all,Got my multi-boot DVD going and all works well with the exception of the time display on the graphical menu. My time shows up as: 9:$timeminutepm $month1My date shows up as:5-2004>-Other than that all works well.BTW, are there instructions on creating some of those nice looking boot menus with CDSHELL? If so, could someone post some links???Thanks in advance...... Link to comment Share on other sites More sharing options...
JohnSteven Posted November 17, 2004 Author Share Posted November 17, 2004 C'mon folks. Is there anybody out there that can tell me what's wrong with this cdshell.ini file??? The date and time seem to be screwed up and I've tried fiddling with it for a while but am running up against a brick wall. Here is the first 39 lines of the file:boot:clsprint "\n"print "Press Enter to boot from DVD... \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 ampm = "am"if $timeHour > 12; then set hour = $timeHour - 12if $timeHour > 12; then set ampm = "pm"set time = "$hour:$timeMinute$ampm"# Function to display datedate:set month = "n/a"if $dateMonth == 1; then set month = "Jan."if $dateMonth == 2; then set month = "Feb."if $dateMonth == 3; then set month = "Mar."if $dateMonth == 4; then set month = "Apr."if $dateMonth == 5; then set month = "May."if $dateMonth == 6; then set month = "Jun."if $dateMonth == 7; then set month = "Jul."if $dateMonth == 8; then set month = "Aug."if $dateMonth == 9; then set month = "Sep."if $dateMonth == 10; then set month = "Oct."if $dateMonth == 11; then set month = "Nov."if $dateMonth == 12; then set month = "Dec."set date = "$month$dateDay,$dateYear"# Printing the Interfacemenu:set textColor= color[grey on black]set boldColor= color[cyan on black]clsAny help would be appreciated. This may seem simple to some, but to a newb it's frustrating.........BTW, everything else works great, just the time/date screwup....... Link to comment Share on other sites More sharing options...
Whampoom Posted November 17, 2004 Share Posted November 17, 2004 I have changed a couple of lines set time = "$hour:$(timeMinute)$ampm"set date = "$(month)$dateDay,$dateYear" Link to comment Share on other sites More sharing options...
JohnSteven Posted November 17, 2004 Author Share Posted November 17, 2004 Hi Whampoom,Thanks for the reply. I'll give that a try this evening and post back. I also came up with a solution by just putting a space between each format. I can't seem to find any tutorials on writing this type of script. Can you or someone else here point me towards some???Thanks again......JohnSteven 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