Skip to content

Instantly share code, notes, and snippets.

@nyabla
Created March 20, 2016 20:40
Show Gist options
  • Save nyabla/ba5353e3c2f8a703d66d to your computer and use it in GitHub Desktop.
Save nyabla/ba5353e3c2f8a703d66d to your computer and use it in GitHub Desktop.
If an input = something then do something else.
set /p input=Hello
if %input%==Hello goto :yay
:yay
echo yay
timeout -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment