Delete bootinst.bat

pull/23/head
johndah4x0r 2017-07-26 13:27:18 +02:00 committed by GitHub
parent a9fa2e0b49
commit 54216a6ddb
1 changed files with 0 additions and 47 deletions

View File

@ -1,47 +0,0 @@
@echo off
cls
echo ===============================================================================
echo Setting your drive to boot
echo ===============================================================================
echo.
set DISK=none
set BOOTFLAG=boot666s.tmp
echo This file is used to determine current drive letter. It should be deleted. >\%BOOTFLAG%
if not exist \%BOOTFLAG% goto readOnly
echo wait please ...
for %%d in ( C D E F G H I J K L M N O P Q R S T U V W X Y Z ) do if exist %%d:\%BOOTFLAG% set DISK=%%d
del \%BOOTFLAG%
if %DISK% == none goto DiskNotFound
echo.
echo Setting up boot record for %DISK%:, wait please...
if %OS% == Windows_NT goto setupNT
goto setup95
:setupNT
\boot\syslinux.exe -maf -d /boot/ %DISK%:
goto setupDone
:setup95
\boot\syslinux.com -maf -d /boot/ %DISK%:
:setupDone
echo Installation finished.
goto pauseit
:readOnly
echo You're starting boot installer from a read-only media, this will not work.
goto pauseit
:DiskNotFound
echo Error: can't find out current drive letter
:pauseit
echo Press any key to exit...
pause > nul
:end