|
Answer» I WRITE a batch file to add more command for my test utility the menu looks like
:awd cls ECHO ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» echo º Bios Menu º echo ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹ echo º 1.+ DOS Drv º echo º 2.- Bios º echo º A.- awdflash º echo º X. help º echo º Y. run º echo º Z. copy º echo º B.+ PHLASH16 º echo º 3.+ Utilities º echo º 4. EXIT º echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ choice Your choice: /c:12AXYZB34 if errorlevel 9 goto exit if errorlevel 8 goto utils if errorlevel 7 goto phl if errorlevel 6 goto awdcopy if errorlevel 5 goto awdrun if errorlevel 4 goto awdhelp if errorlevel 3 goto bios if errorlevel 2 goto start if errorlevel 1 goto dos
:awdhelp cd\ awdflash/? goto start
But i don't know what should i write for title under " A.+ awdflash" when user ENTER "A", there are two option
1. enter "X" then a message "enter the drive letter" to let user select a destination to copy awdflash.exe 3. enter "Y" to run awdflash.exe ,but user can add any command behind awdflash.exe (/p /N /y)
could somebody teach me how to do it?
|