home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 24
/
CD_ASCQ_24_0995.iso
/
vrac
/
almdn200.zip
/
AUTOMOD.BAT
< prev
next >
Wrap
DOS Batch File
|
1995-07-04
|
1KB
|
38 lines
@echo off
echo.
echo Alarm v2.00 ∙ Copyright (c) 1994-95 by Dale Nurden
echo AUTOMOD.BAT
echo.
if %1. == . goto Error
if not exist %1\ALARMTSR.COM goto Error
if not exist %1\ALARM.EXE goto Error
echo AUTOMOD will make changes to your AUTOEXEC.BAT file.
echo The original file will be renamed to AUTOEXEC.OLD, so you can always
echo undo any changes made here by typing the following command:
echo.
echo COPY C:\AUTOEXEC.OLD C:\AUTOEXEC.BAT
echo.
echo If you would like AUTOMOD to proceed with the changes, press ENTER now.
echo Otherwise, press Ctrl-Break or Ctrl-C to cancel.
pause > nul
copy c:\autoexec.bat c:\autoexec.old > nul
echo %1\alarm /s >> c:\autoexec.bat
echo %1\alarmtsr >> c:\autoexec.bat
echo.
echo The changes have been made.
goto End
:Error
echo You must specify the complete path to the directory containing the
echo ALARM program files. Do not include a trailing backslash.
echo.
echo An example of what you might type is:
echo AUTOMOD C:\ALARM
:End
echo.