HOW TO MAKE A PASSWORD PROTECTED FOLDER WITHOUT USING ANY SOFTWARE?

If you want to keep your files and photos safe without any use of software then follow these steps-

1. Open notepad .


2. Then type a simple code in batch programming, please make sure type this code line by line else this code is not use full .


if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u 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%==type your 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

3. Then save this file with any name and any where but give the extension .bat it is must because the code is written in the batch programming language.


4. A batch file is produce . Then open the file and it produce a blank folder, then put your files and photos in this folder.


5. Now open again then batch file , but this time it ask for the lock the folder or not, then press 'y' or 'Y , Now your folder is vanish from the screen .


6. If you want to open this folder then open the batch file then give the password then your folder will appear.   

Comments

Popular posts from this blog

HOW TO WATCH ONLINE FREE MOVIES & TV-SERIES ?

HOW TO GET INFORMATION ABOUT ANY WEBSITE

HOW TO CREATE A BLOG?