Help - Search - Members - Calendar
Full Version: CDshell help needed please
MSFN Forums > Unattended Windows Discussion & Support > Multi-Boot CD/DVDs

   


Google Internet Forums Unattended CD/DVD Guide
edbro
I am trying without luck to get cdshell working. I am using Flyakite's cdshell.ini as a starting point. But, I can't get past the first few lines. Here is the error message CDshell gives me:
QUOTE
Error: Unknown Command Entered
[command: cls][Line 2.1] [File: cdshell.ini]

I tried pulling line 2 out but then it said that "print" was not a valid command. I am using CDShell ver 2.0 and all files are in /boot.

Here is my modified cdshell.ini:
CODE
boot:
cls
print "\n"
print "Press Enter to boot from DVD... \n"
getkey 5 boot 0x80
if $lastKey == key[enter]; then goto time
# When no key found...
goto boot

# Function to display time of day
time:
set hour = $timeHour
set ampm = "am"
if $timeHour > 12; then set hour = $timeHour - 12
if $timeHour > 12; then set ampm = "pm"
set time = "$hour:$timeMinute$ampm"

# Function to display date
date:
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 Interface
menu:
set textColor= color[grey on black]
set boldColor= color[cyan on black]
cls
print c "\n\cXXÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ<\c0B$time $date\cXX>ÄÄ \n\n"
print c "\cXXAdvanced Multi-Boot DVD v1.7\n\n"
print c "\cXXÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ \n\n"
print "1)  Windows XP Professional - Normal \n"
print "2)  Windows XP Professional - Ed's Computer \n"
print "3)  Windows XP Professional - Other Computer \n"
print "4)  Ghost 8 \n"
print "5)  Partition Magic \n"
print "6)  Windows 98 Boot \n"
print "\n"
print "Q)  Quit to Command Prompt \n"
print "R)  Reboot \n"
print "ESC) Boot 1st Harddisk \n"
print c "\n"

MainKey:
getkey 20 boot 0x80
if $lastKey == key[1]; then chain /PRO1.DAT
if $lastKey == key[2]; then then chain /Eds1.DAT
if $lastKey == key[3]; then then chain /othr.DAT
if $lastKey == key[4]; then memdisk Ghost8.ima
if $lastKey == key[5]; then memdisk /Partmag8.IMA
if $lastKey == key[6]; then memdisk /boot.IMA
if $lastKey == key[q]; then end
if $lastKey == key[r]; then reboot
if $lastKey == key[esc]; then boot 0x80

end

What am I doing wrong?
benners
There seems to be nothing wrong with your ini file.I copied and pasted into my ini and ran cdshw.com, came up with the
CODE
Press Enter to boot from DVD...
.I have attached the folder I used, make sure your has the same layout, could be the modules folder is not correctly placed.
edbro
Thank you very much. I did not have the modules folder there at all. Works great now. thumbup.gif




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.