Guest User

Untitled

a guest
Aug 7th, 2018
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. Creating a loop in Batch file
  2. :start
  3. echo Username=****
  4.  
  5. SET /P password=Please enter the password
  6.  
  7. IF %password%==password goto map
  8. IF %password%!==!password goto start
  9.  
  10. :map
  11.  
  12. NET USE Z: \serverfolder
  13.  
  14. if %password%!==!password
  15.  
  16. if %password%==password goto map
  17. goto start
  18.  
  19. if %password%==password (goto map) else (goto start)
  20.  
  21. if "%password%"=="password" ...
Add Comment
Please, Sign In to add comment