@Echo Off
CLS
IF %1n==A:n GOTO DRIVEOK
IF %1n==a:n GOTO DRIVEOK
IF %1n==B:n GOTO DRIVEOK
IF %1n==b:n GOTO DRIVEOK
Echo *******************************************************
Echo     Please run this command from a DOS command line
Echo      and specify the disk drive letter as follows:
Echo               MAKEDISK A: or MAKEDISK B:
Echo *******************************************************
Echo.
Pause
GOTO DONE
:DRIVEOK
Echo PowerQuest(R) ServerMagic(TM) 3.0
Echo Copyright (C) 1994-1999, PowerQuest Corporation.
Echo All rights reserved.
Echo.
Echo This batch file builds a bootable ServerMagic disk set.
Echo.
Echo This batch file must be run from the installation
Echo media. You need two blank 3.5" disks. After reviewing
Echo the license agreement the first disk will be created.
Echo This disk contains boot files, a mouse driver, and
Echo ServerMagic program files. Next, the second disk is
Echo created. This disk contains the ServerMagic help file
Echo and PARTINFO.
Echo.
Echo When ready to read the license agreement,
Pause
CLS
more < licfmt.txt
Echo.
Echo *******************************************************
Echo.
YES Do you agree to the license agreement (YES/NO)?
IF ERRORLEVEL 1 GOTO FILLDISK
Echo.
Echo IF YOU DO NOT AGREE TO THESE TERMS AND CONDITIONS,
Echo EITHER DESTORY OR RETURN, INTACT, THE SERVERMAGIC
Echo PACKAGE, CONTAINING THE CD OR DISK MEDIA, TOGETHER WITH
Echo THE OTHER COMPONENTS OF THE PRODUCT TO THE PLACE OF
Echo PURCHASE.
Echo.
Echo Installation terminated.
Pause
GOTO DONE
:FILLDISK
CLS
Echo ******** Create ServerMagic Disk 1 on Drive %1 ********
Echo.
\LINUX\FDWRITE \LINUX\SMFLOPPY.IMG %1
Echo.
Echo Disk 1 is complete. Please remove this disk and label
Echo it "ServerMagic 3.0 Boot Disk".
Echo.
Pause
CLS
Echo ******** Create ServerMagic Disk 2 on Drive %1 ********
Echo.
\LINUX\FDWRITE \LINUX\DTFLOPPY.IMG %1
Echo.
Echo Disk 2 is complete. Please remove this disk and label
Echo it "ServerMagic 3.0 Help Disk"
Echo.
Pause
CLS
Echo Creation of the ServerMagic 3.0 disk set is complete.
Echo.
Echo To run ServerMagic 3.0, insert disk 1 into drive %1 (or
Echo whichever drive is your bootable 3.5"). After the
Echo program loads, you will need to put disk 2 into the
Echo drive in order to access help.
Echo.
Echo Thank you for choosing PowerQuest's ServerMagic 3.0!
Echo.
Pause
CLS
:DONE
