|
这是一个支持在Windows电脑上安装UOS和kylin多启动的Grub文件,谁能帮忙做个批处理安装文件?https://xiaojiuwo.lanzoui.com/isrqottve1e
附上卸载本软件的批处理:
@echo off
%~d0
echo %errorlevel%
mountvol z: /s
if %errorlevel% equ 0 ( goto uefi_boot_uninstall ) else ( goto legacy_boot_install )
::shutdown -r -t 1
:uefi_boot_uninstall
echo This computer is UEFI boot
bcdedit /set "{bootmgr}" path \EFI\Microsoft\Boot\bootmgfw.efi
rd z:\grub /s/q
mountvol z: /d
cmd
:legacy_boot_install
echo This computer is Legacy boot can not unstall
cmd
|
|