|That script uses debug to get mouse input, which leaves a few problems:|
1. It eats lots resources, even when idle, because it has to constantly loop to check for mouse input.
2. It doesn't easily allow for keyboard input in addition to mouse input.
3. If the user has "Quick Edit" enabled by default in the console options they will have to change the console settings to use the mouse this way.
4. Debug isn't usable on 64bit systems.
If you're fine with all of these issues then download their script (available in the comments of the youtube video) and modify the mouse handling code for your purposes.
If an outside executable is a possibility you may want to have a look at a utility I wrote:
rem note the space after '\'
rem it could also be "format d:\\"
cmdmenusel # "Shutdown PC" "Restart PC" "Format C:\ " "Format D:\ " Exit
if %errorlevel%==1 goto 1
if %errorlevel%==2 goto 2
if %errorlevel%==3 goto 3
if %errorlevel%==4 goto 4
if %errorlevel%==5 exit