|I see that you posted a new topic. I am posting to this one to keep the other unanswered in case someone gets it better than I do.|
It looks like it displays what you were looking for(spacing is wonky looking?).
The question is: What did you want to do when the user types in the variable m?
If you want it to post an error and reset: then add a goto at the end, and a counter at the top aka you have 4 attempts left, then 3, then 2. then 1 when it reaches 1 add a kill option to lock the system.)
This could be accomplished by
setting a variable to equal 4(set /a count=4), and then using it at the beginning of the program, followed by a :begins
Then at the end of the program you can decrease the count (set /a count=count-1) and add a goto begins
then an if statement if count lss 1 then echo what ever your warning is.
If it is something else, please make it a bit more specific. I dont know if you are trying to actually make a password comparison in the set, however, I didn't see it. Based on the coding I would say you intend failure.