i have made a simple batch password protector for anything on your computer....
guys where it says in caps > "ENTER YOUR NEW PASSWORD HERE" that is where you edit and put the password you want
NOTE
This password from batch is only to keep family, friends, and random users away from that file... Hackers could infiltrate the password if they tried to
Keep things a secret and private.. this batch file keeps whatever u want hidden until you enter the password you had created inside of it
Code
cls
@ECHO OFF
title Folder Private
if EXIST "HTG Locker" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you want to lock the folder(Y/N)
set/p "cho=(more than)"
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 Private "HTG Locker"
attrib +h +s "HTG Locker"
echo Folder locked
goto End
:UNLOCK
echo Enter password to unlock folder
set/p "pass=(more than)"
if NOT %pass%== "ENTER YOUR NEW PASSWORD HERE" goto FAIL
attrib -h -s "HTG Locker"
ren "HTG Locker" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:Endguys where it says in caps > "ENTER YOUR NEW PASSWORD HERE" that is where you edit and put the password you want
