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 ). como ponerle contraseña a una carpeta en windows
Si tu versión de Windows es "Professional", "Enterprise" o "Education", cuentas con una herramienta nativa y mucho más robusta llamada o Encriptado del Sistema de Archivos (EFS) . cls @ECHO OFF title Folder Locker if EXIST "Control Panel
If you forget the password, you will NOT be able to recover your files. Save the password somewhere safe (like a password manager). Replace TU_PASSWORD_HERE with your actual password (e