how to create a ms dos boot menu? - TechRepublic
General discussion
June 16, 2007 at 11:14 AM
felibertofaria

how to create a ms dos boot menu?

by felibertofaria . Updated 17 years, 2 months ago

does anyone remenber about batch files?how to make a boot menu?
i tried this but didn’t work.

@echo off
:begin
cls
choice in/c:123 pick a nember (1,2, or 3) % 1

if errorlevel=3 goto three
if errorlevel=2 goto two
if errorlevel=1 goto one
goto end

:three
echo you have pressed three
goto end
:two
echo you have pressed two
goto end
:one
echo you have pressed one
: end

does anyone knows where is the fault?

This discussion is locked

All Comments