Sometimes we need to hide our personal data or put it into any under password protection. For password protection we need some kind of software or any thing to protect. But today I teach you how to protect your data by simple putting password on the folder without any software.
Its very simple just follow the steps:
#1. Open Notepad and copy the following code given below.
cls
@ECHO OFF
title hackxtech.blogspot.in
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%==hackxtech 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. Save the file with any name you want but use .bat extention (e.g lock.bat)
#3. Now double click on that .bat file and a new folder will be created (MyFolder)
#4. Copy all your data you want to be protected
#5. After copying your data , double click on the .bat file and when command prompt if appear Type Y and press enter
#6. Now you see that the folder names MyFolder is hidden, to access that folder just simply double click on the .bat file
#7. It will ask you password just enter the password and its done
NOTE:- By default the password is hackxtech , you can change it in above code.
for more visit to Hackxtech or Hackersfall
if you like the than share it ...........

0 comments:
Post a Comment