Kush
High On Life!
- Joined
- 13 Jan 2002
- Messages
- 4,590
ok guys same thing as linux hehe, i actually figured out a lot of stuff in an hour by trial and error, felt like it would be annoying to ask but how do i use an if not statement properly?
i want to ask the use a question say
What is the Space Ship's Name?
and if the user doesnt enter enterprise in any casing (i used /i)
then it tells him he is incorrect
set /P Answer1=1.What is the Space Ship's Name?
echo ******************************
if /i %Answer1%==Enterprise echo You Are Correct
if not /i %Answer1%==Enterprise echo You Are Incorrect <-- cant get this part to work
i want to ask the use a question say
What is the Space Ship's Name?
and if the user doesnt enter enterprise in any casing (i used /i)
then it tells him he is incorrect
set /P Answer1=1.What is the Space Ship's Name?
echo ******************************
if /i %Answer1%==Enterprise echo You Are Correct
if not /i %Answer1%==Enterprise echo You Are Incorrect <-- cant get this part to work