You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Voyager/launch.bat

16 lines
439 B

4 years ago
@echo off
net session >nul 2>&1
if %errorLevel% == 0 (
mountvol X: /S
attrib -s -h X:\EFI\Microsoft\Boot\bootmgfw.efi
4 years ago
move X:\EFI\Microsoft\Boot\bootmgfw.efi X:\EFI\Microsoft\Boot\bootmgfw.efi.backup
xcopy %~dp0bootmgfw.efi X:\EFI\Microsoft\Boot\
xcopy %~dp0payload.dll X:\EFI\Microsoft\Boot\
echo press enter to reboot...
pause
shutdown /r /t 0
) else (
echo Failure: Please run as admin.
pause
)