Created
          September 29, 2025 22:11 
        
      - 
      
- 
        Save langheran/5520f36aa22904989b56368cf2846978 to your computer and use it in GitHub Desktop. 
    C:\Users\NisimHurst\NDS\PiSA McKinsey\scripts\0. copy user or password.example.bat
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | @echo off | |
| setlocal | |
| :PROMPT | |
| SET /P ACTION=User or Password (U/[P])? || SET "ACTION=P" | |
| IF /I NOT "%ACTION%"=="U" IF /I NOT "%ACTION%"=="P" GOTO END | |
| IF /I "%ACTION%" == "U" GOTO USER | |
| IF /I "%ACTION%" == "P" GOTO PASS | |
| :PASS | |
| echo|set/p=<password>|clip | |
| GOTO END | |
| :USER | |
| echo|set/p=<user>|clip | |
| GOTO END | |
| :END | |
| endlocal | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment