示例代码:- @echo off
- set /p input=请输入故障对应序号:
- if "%input%"=="A" goto A
- if "%input%"=="B" goto B
-
- :A
- Xcopy "C:\aaa" "F:aaabak" /e/I/d/h/r/y
-
- :B
- Xcopy "D:\aaa" "F:aaabak" /e/I/d/h/r/y
-
- :C
- Xcopy "E:\aaa" "F:aaabak" /e/I/d/h/r/y
-
- puse
复制代码 请问各位老师,我的需求是选择选项执行命令结束后再重新返回可以重头选择的菜单,请路过的老师大神帮忙改下代码,谢谢! |