title: fix variable = variable in a batch file for a password
body: <p>in this batch file i am trying to created a program where the user can enter his or her desired password and use it when ever they open or close the Batch file.
  the problem is that i can not get the user password and (at :MDLOCKER and :UNLOCK) and the unlock part of the script to work. when finally get it to work it accepts any password<br>
  if you could help that would be great thanks. </p>
  
  <pre><code>enter code here@ECHO OFF
  prompt Filelocker`enter code here`
  :START
  echo what do you want to do?  (insert number)
  echo 1 Lock current folder
  echo 2 Unlock current folder
  echo 3 Make new locked folder
  
  set/p "cho=&gt;"
  if %cho%==1 goto CONFIRM
  if %cho%==2 goto UNLOCK
  if %cho%==3 goto NEW
  echo not valid
  goto start
  
  : NEW
  title Folder Locked files
  if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto ALREADY
  if NOT EXIST Locker goto MDLOCKER
  
  :ALREADY
  echo folder already exist!
  echo try unlocking if folder can not be found
  pause
  goto START
  
  
  
  :CONFIRM
  echo Are you sure u want to Lock the folder(Y/N)
  set/p "cho=&gt;"
  if %cho%==Y goto LOCK
  if %cho%==y goto LOCK
  if %cho%==n goto END
  if %cho%==N goto END
  echo Invalid choice.
  goto CONFIRM
  
  
  :LOCK
  ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
  attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
  echo Folder locked
  goto end
  
  :MDLOCKER
  md Locker
  echo Locked folder created....
  echo folder is now created 
  echo enter password for your file.
  set/p 1%=
  echo password accepted 
  goto start
  
  
  
  
  :UNLOCK
  echo Enter password to Unlock folder
  set/p "pass=&gt;"
  if NOT %pass%==%1% goto FAIL
  attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
  ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
  echo Folder Unlocked successfully
  goto End
  
  
  :FAIL
  echo Invalid password
  echo 2 MORE TRYS LEFT
  pause
  goto 
  
  
  :End
  </code></pre>