Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ::模板開始
- Echo.
- Echo Exit Confirmation:
- Echo [Y]es
- Echo [N]o
- Echo *Please enter the first letter of the item you want to select.
- Echo.
- Echo ------------------------------------------------------------------------------
- Echo.
- ::將選擇的字母寫入「Confirmation」
- set /P Confirmation= Please select an item: %=%
- Echo.
- Echo ------------------------------------------------------------------------------
- ::選擇「Y」會退出程式,選擇「N」會重新選擇
- If %Confirmation% == Y goto Exit
- If %Confirmation% == N goto SelectNo
- If %Confirmation% == y goto Exit
- If %Confirmation% == n goto SelectNo
- ::選擇錯誤會回到開始畫面
- goto Start
- ::模板結束
Advertisement
Add Comment
Please, Sign In to add comment