Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- mode 200 200
- :start
- color a
- title On/Off
- cls
- echo 1. Dep-On
- echo 2. Dep-Off
- set /p var=On/Off
- IF '%var%' == '1' GOTO on
- IF '%var%' == '2' GOTO off
- cls
- msg * That selection does not exist please try again!
- goto start
- :on
- bcdedit.exe /set {current} nx AlwaysOn
- Pause
- cls
- goto start
- :off
- bcdedit.exe /set {current} nx AlwaysOff
- pause
- goto start
- cls
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement