CMD Coding Help Needed

Jul 23, 2015
Reaction score
I'm new to this site and apologize if I categorized this post incorrectly but I need help as soon as possible. The 'if' statement won't come out true even if I type "A" or "a" (in other words, I can't seem to get it to "echo Yes A!").

set /p I=
if /i I == A (
echo Yes A!
) else (
echo Invalid!
ping -n 1 -w 20>nul
goto Start

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question