Hope it works had to write this on my phone havent worked with batch in a while.
@echo off
call :MsgBox "Is the external HDD pluged in" "VBYesNo+VBQuestion" "Click yes to go to continue"
if errorlevel 7 (
echo NO
) else if errorlevel 6 (
echo YES
cls
cd\
d...