home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
terabyteunlimited.com
/
2014.06.terabyteunlimited.com.tar
/
terabyteunlimited.com
/
obsolete
/
BOOTITDD.ZIP
/
BUILD.BAT
< prev
next >
Wrap
DOS Batch File
|
1999-02-14
|
1KB
|
58 lines
@echo off
cls
echo ═══════════════════════════════════════════════════
echo BootIt Direct - Creation of Installation Diskette
echo ═══════════════════════════════════════════════════
echo.
for %%i in (A: a: B: b:) do if %1.==%%i. goto okay
if %1.==. build a:
echo Usage: build a: or build b:
goto end
:okay
if exist bootmnud goto okay2
echo You must be in the directory you extracted BootIt Direct to.
goto end
:okay2
echo If you are updating BootIt Direct, insert your existing installation
echo diskette otherwise insert a diskette to be formatted.
echo.
echo To abort this process Press Ctrl-C and terminate the batch job.
echo.
pause
echo.
if exist %1\bootitsv.mbr goto update
if exist %1\command.com goto update
echo Creating System Diskette...
format %1 /q/s
if exist %1\command.com goto update
format %1 /s
if exist %1\command.com goto update
echo.
echo Unable to create a system diskette. You can create a system
echo diskette yourself by using the SYS %1 command or by formatting
echo a diskette with the /S switch.
echo.
goto end
:update
echo Copying files to %1
echo.
echo Please Wait ...
cd %1\
copy autoexec %1\autoexec.bat >nul
copy install.exe %1 >nul
copy apid %1 >nul
copy mbrlite %1 >nul
copy bootmnud %1 >nul
copy bootitd.exe %1 >nul
copy pdisk.exe %1 >nul
echo.
echo Creation of Installation Diskette Complete!
echo.
goto end
:bad
echo.
echo Creation of Installation Diskette Failed!
echo.
:end
pause