Como Ponerle Contraseña A — Una Carpeta En Windows Fixed

Open the text file and paste the code below exactly as written:

Double-click Locker.bat again. A black window will ask: “Are you sure you want to lock the folder? (Y/N)” Type Y and press Enter. como ponerle contraseña a una carpeta en windows

How to Password Protect a Folder in Windows (No Extra Software Required) Open the text file and paste the code

Do you have a favorite way to lock folders in Windows? Let me know in the comments below! How to Password Protect a Folder in Windows

The bad news:

cls @ECHO OFF title Folder Locker if EXIST "Control Panel.21EC2020-3AEA-1069-A2DD-08002B30309D" goto UNLOCK if NOT EXIST Locker goto MDLOCKER :CONFIRM echo Are you sure you want to lock the folder? (Y/N) set/p "cho=>" 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 :UNLOCK echo Enter password to unlock folder set/p "pass=>" if NOT %pass%== TU_PASSWORD_HERE 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 goto end :MDLOCKER md Locker echo Locker created successfully goto End :End Find the line that says if NOT %pass%== TU_PASSWORD_HERE goto FAIL . Replace TU_PASSWORD_HERE with your actual password (e.g., if NOT %pass%== MySecret123 goto FAIL ).

Go to File → Save As . Change "Save as type" to All Files ( . ) . Name the file Locker.bat and click Save.