home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The First Hungarian Family
/
The_First_Hungarian_Family_CD-ROM.bin
/
internet
/
offlread
/
1st200
/
a
/
bootdisk.mdl
< prev
next >
Wrap
Text File
|
1995-07-19
|
2KB
|
60 lines
SPARKWARE
ASSIGN(_Default$,143)
CALL "LOGO.MDL"
QPRINT("@READER@ is about to create a 'boot disk' for you.",13,13,143,7)
QPRINT("")
QPRINT("You will need to insert a blank diskette into Drive 'A'")
QPRINT("Any information on this disk will be lost.")
CLEAR_BOXES
DIALOG_BOX(1,0,13,1," Press [ENTER] to continue ",20,5,112,112,1,116,15)
DIALOG_BOX(2,0,27,2," Press [ESC] to abort ",20,49,112,112,1,116,15)
DISPLAY ON
GET(Choice$,2)
IF COMPARE(Choice$,1) THEN
SHELL("FORMAT A: /S")
DISPLAY OFF
SCREEN(3,RESTORE)
QPRINT("Creating CONFIG.SYS and AUTOEXEC.BAT files...",15,-1,143,7)
DISPLAY ON
OPEN("O",1,"A:\CONFIG.SYS")
COMPARE(_Dos$,"500")
IF NOT LESS THEN
WRITE(1,"SHELL=C:\DOS\COMMAND.COM C:\DOS /P /E:1024")
WRITE(1,"DEVICE=C:\DOS\HIMEM.SYS")
WRITE(1,"DEVICE=C:\DOS\EMM386.EXE RAM")
WRITE(1,"DOS=HIGH")
END IF
WRITE(1,"FILES=30")
WRITE(1,"BUFFERS=30")
CLOSE(1)
OPEN("O",1,"A:\AUTOEXEC.BAT")
WRITE(1,"@ECHO OFF")
WRITE(1,"CLS")
WRITE(1,"VER")
WRITE(1,"PATH=@PATH@")
WRITE(1,"SET COMSPEC=C:\COMMAND.COM")
WRITE(1,"SET PROMPT=$p: ")
WRITE(1,_Drive$)
WRITE(1,"CD ",NO_CR)
WRITE(1,_Current$,NO_CR)
WRITE(1,".")
WRITE(1,"1ST")
CLOSE(1)
DISPLAY OFF
SCREEN(3,RESTORE)
QPRINT("@READER@ has created a 'boot disk' for you.",13,9,143,7)
QPRINT("")
QPRINT("Use this disk to make available as much free memory as possible")
QPRINT("for @READER@. Insert this disk when you wish to use @READER@")
QPRINT("and then turn on your computer. We will now reboot your computer.")
CLEAR_BOXES
DIALOG_BOX(1,0,27,1," Press [ENTER] to continue ",20,39,112,112,1,116,15)
DISPLAY ON
GET(Choice$,1)
BOOT
END IF
EXIT