Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- set /p in1="Enter first variable: "
- set /p in2="Enter second variable: "
- cls
- if %in1%==%in2% goto equal
- goto notequal
- :equal
- echo The two variables are equal
- exit
- :notequal
- echo The two variables are not equal
- exit
Advertisement
Add Comment
Please, Sign In to add comment