/S specifies system EFI partition for
MOUNTVOL and assigns unused drive letter
Y for
Y:\EFI (
source)
Add to boot menu in firmware settings after copying
2)
DEL /Q "%UserProfile%\Downloads\zedk.zip" & "%SystemRoot%\System32\curl.exe" --output "%UserProfile%\Downloads\zedk.zip" --location "https://github.com/kohlschuetter/zedk/releases/download/zedk-20260224/zedk-20260224.zip" && RMDIR /S /Q "%UserProfile%\Downloads\zedk" & MKDIR "%UserProfile%\Downloads\zedk" && "%SystemRoot%\System32\tar.exe" xf "%UserProfile%\Downloads\zedk.zip" -C "%UserProfile%\Downloads\zedk"
"%SystemRoot%\System32\notepad.exe" "%UserProfile%\Downloads\zedk\startup.nsh"
MOVE /Y "%UserProfile%\Downloads\zedk\EFI\Boot\bootx64.efi" "%UserProfile%\Downloads\zedk\EFI\Boot\zedk.efi"
"%SystemRoot%\System32\mountvol.exe" Y:\ /S
"%SystemRoot%\System32\Robocopy.exe" "%UserProfile%\Downloads\zedk" "Y:" /MOVE /E
"%SystemRoot%\System32\mountvol.exe" Y:\ /D & DEL /Q "%UserProfile%\Downloads\zedk.zip"