home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
p
/
ppboot02.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
2013-02-02
|
1KB
|
66 lines
echo off
readme
cls
set sdir=C:\CONFIG
echo.
echo.
echo. Configuration examples for PP-BOOT are copied to %sdir%\
echo. ===========================================================
echo.
if not exist EXAMPLES.EXE goto ERROR
pause
ctty nul
md %sdir%
md xyzxyzxy.z
cd xyzxyzxy.z
copy ..\examples.exe/b *.*
ctty con
EXAMPLES
del examples.exe
copy *.*/b %sdir%\*.*
ctty nul
del a*.*
del c*.*
del h*.*
del ?dummy
cd..
rd xyzxyzxy.z
ctty con
echo.
echo.
echo. The files EXAMPLES.EXE
echo. README.EXE
echo. PP-BOOT.DOC
echo. HISTORY.DOC
echo. INSTALL.BAT
echo. REGISTER.TXT (after registration)
echo. may be deleted afterwards.
echo.
pause
if not exist PP-BOOT.EXE goto ENDE
PP-BOOT *03%sdir%
if exist %sdir%\?SAVED-C.ONF goto SCHONDA
:SAVE
PP-BOOT /B=SAVED-CONF
echo.
echo. The original configuration was saved as SAVED-CONF.
echo.
pause
PP-BOOT /H
PP-BOOT /D
goto ENDE
:SCHONDA
echo.
echo. File(s) %sdir%\?SAVED-C.ONF are already existing.
echo. Press any key to save the original configuration !
echo. Cancel by pressing Ctrl-C !
echo.
pause
goto SAVE
:ERROR
echo.
echo. The file EXAMPLES.EXE is not located in the current directory!
:ENDE
set sdir=
echo.