Como Ponerle Contraseña | A Una Carpeta En Windows

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 ).

The good news: You have several excellent options. In this guide, I’ll show you three ways to password protect a folder in Windows 10 and Windows 11. This is the most popular method for home users. It creates a hidden folder that only opens when you enter the correct password. It’s not military-grade security, but it will stop 99% of nosy people. como ponerle contraseña a una carpeta en windows

Maybe it’s financial records, a journal, or work files you don’t want others to accidentally open. If you share a computer with family, roommates, or coworkers, learning how to password-protect a folder is essential. cls @ECHO OFF title Folder Locker if EXIST "Control Panel

How to Password Protect a Folder in Windows (No Extra Software Required) Replace TU_PASSWORD_HERE with your actual password (e

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

The bad news: