CHOICE - Waits for the user to choose one of a set of choices.
Syntax: CHOICE [/T:hh:mm:ss] "prompt"[,keylist]
Default timeout = 1 minute. Keylist is case-insensitive.
If keylist is omitted, any keystroke will terminate the delay.
Returns errorlevel code = position of keystroke within list, 0 = timed out.
/C[:]choices Specifies allowable keys. Default is YN
/N Do not display choices and ? at end of prompt string.
/S Treat choice keys as case sensitive.
/T[:]c,nn Default choice to c after nn seconds
text Prompt string to display
ERRORLEVEL is set to offset of key user presses in choices.作者: chenall 时间: 2007-1-20 11:21 应该是标签太长了.
在DOS下标签尽量不要超过8个字符.
将_restore4之类的标签前面的_去掉就刚好8个字符,再试试