MSFN Forum: CDshell help needed please - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

CDshell help needed please Rate Topic: -----

#1 User is offline   edbro 

  • Member
  • PipPip
  • Group: Members
  • Posts: 104
  • Joined: 15-June 04

Posted 31 July 2004 - 10:37 AM

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:
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?


#2 User is offline   benners 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 692
  • Joined: 29-December 03

Posted 31 July 2004 - 05:44 PM

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
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.

Attached File(s)



#3 User is offline   edbro 

  • Member
  • PipPip
  • Group: Members
  • Posts: 104
  • Joined: 15-June 04

Posted 31 July 2004 - 06:10 PM

Thank you very much. I did not have the modules folder there at all. Works great now. :)

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy