title: Make a batch login/register system? Code to it?
body: <p>I am trying to make this advanced batch-file which has a role of a simple login system, that means that you can register in this batch file, and your data is exported to another batch file, under variables, and when you login, the file with the variables is called, setting your password so you can login, and then do other stuff. All in one batch file with only passwords in external files. I tried to code all this, and it works until the step where you have to write your password to login: When i enter my password (for the example it's "nekav") (I am sure it is correct when i input) the batch file writes "nekav was unexpected/unattended" and closes.</p>
  
  <p>P.S.: to save the password under a variable in another file, i used:<code>echo set pass1=pass1a</code>
  (pass1a was the previously input password, for the registration)</p>
  
  <p>Unable to find the error in the code, i have it all uploaded here:
  <a href="http://pastebin.com/RLffPsqG" rel="nofollow">http://pastebin.com/RLffPsqG</a></p>
  
  <p>Can you please tell me, where is my error?</p>