home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Du Jour
/
SoftwareDuJour.iso
/
COMPUTER
/
UTILITY
/
AUTO401.ARC
/
INSTALL.MDF
< prev
next >
Wrap
Text File
|
1987-05-15
|
8KB
|
308 lines
.INSTALL.MDF
.Automenu Automatic Installation Facility
.Designed for Version 4.01
.5/05/87 - Version 2
%Automenu Installation Menu
*Install Automenu
?>>>> Press 1 to begin the Install Process <<<<
>Automenu will now begin asking the series of questions that will enable it
>to install Automenu the way you want it on your system.
>
>To make a selection, move the [Right Arrow] or [Left Arrow] keys to highlight
>your choice, then press ENTER. Once a selection is made, Automenu continues
>to the next question.
>
>At times during the installation procedure, the answer you provided for a
>previous question becomes a part of the current question.
>
>At any time during the selection process, you may press the [ESC] key to
>quit and return to the Automenu Installation Menu, where you may start again
>or quit.
>
>At the end of the selection process, Automenu will redisplay your choices.
>This allows you a final opportunity to accept the choices you made and begin
>the actual installation process. At this time, you may reject the choices you
>made. If you reject your choices, no installation occurs and you are returned
>to the Automenu Installation Menu.
>
>
>Now select the drive to which you wish Automenu copied.
>
<C:,D:,E:,F:,G:,H:,I:,J:,K:,L:,M:,N:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>Please select the sub-directory name on Drive %1 to which you want Automenu
>copied.
<\AUTOMENU,\PUBLIC,\,\BIN,\DOS
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>In order for Automenu to gain access to the external DOS commands, it needs
>to know the sub-directory that contains such external DOS commands as
>CHKDSK.COM, FORMAT.COM, BACKUP.COM, etc.
>
>For example: If the sub-directory is %1\DOS enter \DOS
> or if the sub-directory is %1\BIN enter \BIN
> or if the commands are on the root then enter \
>
>Please type the sub-directory name and then press ENTER:
<
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>Does your present AUTOEXEC.BAT file set your PATH
>to %1%3
>(If you are not sure, respond NO and Automenu will set the PATH for you.)
<YES,NO
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>Automenu can automatically display a menu when your system is turned on. This
>would require placing the command "AUTO" at the end of AUTOEXEC.BAT. If you
>answer YES, any existing AUTOEXEC.BAT will be copied to AUTOEXEC.BAK and
>Automenu will append the command "AUTO" to AUTOEXEC.BAT.
>
>Do you wish Automenu to come up each time your system is turned on?
<YES,NO
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>Please check the answers you have provided, and select OK to continue.
>If you select WRONG, you are returned to the Automenu Installation Menu,
>where you may begin again or quit. No installation takes place when you
>you select WRONG.
>
>Automenu system files to be copied to: %1%2
>DOS files contained on sub-directory: %1%3
>PATH to the DOS directory is defined: %4
>Wish Automenu is come up automatically: %5
>
>
<WRONG,OK
!ECHO OFF
!CLS
!IF %6==WRONG GOTO END
!ECHO Now preforming the installation of Automenu System files to: %1%2
!IF %2==\ GOTO L001
!MKDIR %1%2
!:L001
!%1
!CD %2
!ECHO Now building AUTO.BAT ...
!ECHO ECHO OFF>AUTO.BAT
!ECHO %1>>AUTO.BAT
!ECHO CD %2>>AUTO.BAT
!COPY AUTO.BAT+A:INSTALL.DAT AUTO.BAT >NUL
!COPY AUTO.BAT %1%3 >NUL
!COPY AUTO.BAT %1\ >NUL
!ECHO Now copying program files ...
!COPY A:AUTOMENU.COM >NUL
!COPY A:AUTOCUST.COM >NUL
!COPY A:AUTOMAKE.EXE >NUL
!COPY A:DOS.MDF >NUL
!COPY A:PRINTER.MDF >NUL
!ECHO Now building AUTOMENU.MDF ...
!ECHO .>AUTOMENU.MDF
!ECHO .AUTOMENU Menu Definition File>>AUTOMENU.MDF
!ECHO .>>AUTOMENU.MDF
!ECHO .By Marshall W. Magee>>AUTOMENU.MDF
!ECHO .................................................>>AUTOMENU.MDF
!ECHO %%Automenu(tm) Application Menu>>AUTOMENU.MDF
!ECHO .................................................>>AUTOMENU.MDF
!ECHO *Automenu Menu Building Facility>>AUTOMENU.MDF
!ECHO ?This selection helps build Menu Definition Files>>AUTOMENU.MDF
!ECHO +AUTOMAKE>>AUTOMENU.MDF
!ECHO +AUTO>>AUTOMENU.MDF
!ECHO .................................................>>AUTOMENU.MDF
!ECHO *Automenu Customization Utility>>AUTOMENU.MDF
!ECHO ?This selection changes features of Automenu>>AUTOMENU.MDF
!ECHO +AUTOCUST>>AUTOMENU.MDF
!ECHO +AUTO>>AUTOMENU.MDF
!ECHO .................................................>>AUTOMENU.MDF
!ECHO *Basic>>AUTOMENU.MDF
!ECHO ?Run BASIC directly>>AUTOMENU.MDF
!ECHO -basica>>AUTOMENU.MDF
!ECHO .................................................>>AUTOMENU.MDF
!ECHO *Printer control codes Menu>>AUTOMENU.MDF
!ECHO ?This menu contains selections to set printer>>AUTOMENU.MDF
!ECHO @PRINTER.MDF>>AUTOMENU.MDF
!ECHO .................................................>>AUTOMENU.MDF
!ECHO *DOS Command Menu>>AUTOMENU.MDF
!ECHO ?This menu contains commonly used DOS commands>>AUTOMENU.MDF
!ECHO @DOS.MDF>>AUTOMENU.MDF
!ECHO .................................................>>AUTOMENU.MDF
!ECHO *Disk Operating System>>AUTOMENU.MDF
!ECHO ?Return to Disk Operating System>>AUTOMENU.MDF
!ECHO +CLS>>AUTOMENU.MDF
!ECHO +ECHO ┌─────────────────────┐>>AUTOMENU.MDF
!ECHO +ECHO │▓▒░░░░ D O S ░░░░▒▓│>>AUTOMENU.MDF
!ECHO +ECHO ├─────────────────────┤>>AUTOMENU.MDF
!ECHO +ECHO │ Enter » AUTO « │>>AUTOMENU.MDF
!ECHO +ECHO │to return to the Menu│>>AUTOMENU.MDF
!ECHO +ECHO └─────────────────────┘>>AUTOMENU.MDF
!ECHO +CD \>>AUTOMENU.MDF
!ECHO +ECHO ON>>AUTOMENU.MDF
!ECHO .>>AUTOMENU.MDF
!ECHO .------------------------------>>AUTOMENU.MDF
!ECHO .Define another sub-menu>>AUTOMENU.MDF
!ECHO .------------------------------>>AUTOMENU.MDF
!ECHO .>>AUTOMENU.MDF
!ECHO %%******* Example Second Menu *******>>AUTOMENU.MDF
!ECHO *Chess>>AUTOMENU.MDF
!ECHO ?Play the game of Chess>>AUTOMENU.MDF
!ECHO !CD \GAMES>>AUTOMENU.MDF
!ECHO !CHESS>>AUTOMENU.MDF
!ECHO !CD %2>>AUTOMENU.MDF
!ECHO .................................................>>AUTOMENU.MDF
!ECHO *Backgammon>>AUTOMENU.MDF
!ECHO +CD \GAMES>>AUTOMENU.MDF
!ECHO +BACK>>AUTOMENU.MDF
!ECHO +CD %2>>AUTOMENU.MDF
!ECHO +AUTO>>AUTOMENU.MDF
!ECHO #End of Menu Definition File>>AUTOMENU.MDF
.Put a end-of-file character on the end of AUTOMENU.MDF using copy
!COPY AUTOMENU.MDF+NUL:/A >NUL
!ECHO Now checking AUTOEXEC.BAT ...
!%1
!CD \
!IF %5==NO GOTO DONE
!ECHO Now adjusting AUTOEXEC.BAT so that AUTOMENU will come-up automatically.
!IF NOT EXIST AUTOEXEC.BAT GOTO MAKE
!COPY AUTOEXEC.BAT AUTOEXEC.BAK >NUL
!ERASE AUTOEXEC.BAT >NUL
!COPY AUTOEXEC.BAK/A AUTOEXEC.BAT/B >NUL
!IF %4==NO ECHO PATH %1%3>>AUTOEXEC.BAT
!ECHO AUTO>>%1\AUTOEXEC.BAT
!GOTO DONE
!:MAKE
!ECHO Now building AUTOEXEC.BAT from start ...
!ECHO ECHO OFF>%1\AUTOEXEC.BAT
!ECHO CLS>>%1\AUTOEXEC.BAT
!ECHO VER>>%1\AUTOEXEC.BAT
!ECHO ECHO .>>%1\AUTOEXEC.BAT
!ECHO DATE>>%1\AUTOEXEC.BAT
!ECHO TIME>>%1\AUTOEXEC.BAT
!ECHO PATH %1%3>>%1\AUTOEXEC.BAT
!ECHO PROMPT $P$G>>%1\AUTOEXEC.BAT
!ECHO AUTO>>%1\AUTOEXEC.BAT
!:DONE
!ECHO Automenu is now finished installing the Automenu system files to your disk.
!IF %5==NO GOTO DONE1
!ECHO Your System will now display the menu automatically if you restart your
!ECHO system. To do so, remove the Automenu Diskette and Press [CTRL]-[ALT]-[DEL].
!ECHO .
!GOTO END
!:DONE1
!ECHO Your Automenu system is now ready for you by entering the command "AUTO"
!ECHO at the %1 prompt.
!ECHO .
!:END
!%1
!CD \
!PAUSE
*Return to the Disk Operating System
?This selection will return you to the DOS Prompt
>If you did Install Automenu, Remove the Automenu Diskette and store it in a safe
>place. Press [Ctrl]-[Alt]-[Del] to restart your system with Automenu.
>
+CD \
+ECHO ON
#End of Menu Definition File