HOW TO LOCK FOLDER ?
1. Open Notepad And Copy The Below Code into it :
@ECHO OFF
title http://tricks-hill.blogspot.com/
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder
:CONFIRM
echo Are you sure to lock this 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 MyFolder "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 Your Secure Folder
set/p "pass=>"
if NOT %pass%== LALITPHP goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolder
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDMyFolder
md MyFolder
echo MyFolder created successfully
goto End
:End
2. Now Change "LALITPHP" with Your Desired Password
3. Save The File As Password.bat
4. Now Double Click on Password.bat and a new folder will be created
5. Now Copy All YOur Important Data in That Folder
6. Now Double Click On Password.bat and press Type Y when cmd appears
7. Now That Folder is Hidden from your view double click on Password.bat and enter your password
Thats it now you can secure your data Without any expensive Software .
0 comments:
Post a Comment