SHARE
TWEET

Untitled

a guest May 15th, 2016 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @ECHO OFF
  2.  
  3. :choice
  4. set /P c=A question here [Y/N]?
  5. if /I "%c%" EQU "Y" goto :OptionYes
  6. if /I "%c%" EQU "N" goto :OptionNo
  7. goto :choice
  8.  
  9. :OptionYes
  10. echo "Do your command here"
  11. pause
  12. exit
  13.  
  14. :OptionNo
  15. echo "Picked no"
  16. pause
  17. exit
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top