Tuesday, April 8, 2014

LOCK YOUR PRIVATE FILES WITH PASSWORD WITHOUT ANY SOFTWARE

Everyone seeks for some private software so that they can safely hide their files from unauthorized users. And for that they download many software for the purpose. Those software charges after the trial period is over. So why not you make a simple software by writing a simple program which can hide your private things at least with the noobs. So here is a simple batch programming with which you can keep your file safely.

Step 1: Go to control panel --> click on folder option --> click on view --> Click on 'Don't show hidden files, folders and drives' -->  click on apply --> click on OK.



Step 2: Create a notepad file in which drive you want to keep your secret file and paste the following code in the notepad.

cls
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private 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 Private "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%== PASSWORD_GOES_HERE goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End

Step 3: Delete PASSWORD_GOES_HERE and write the password you want to set.

Step 4: Save the file as hide and extension as .bat and then close it.



Step 5: Click on the batch file created. A folder name Private will be created. Copy and paste all your important files in that folder and then close that folder. 



Step 6: Again click on the hide.bat then enter your choice as 'y'. Your folder will get hide.

Step 7: To unlock again click on the hide.bat and enter your password. You will get all your content back.



If you have any problem then feel free to contact us @ prashantsavior@gmail.com or you can also comment on the comment box given below. And if you liked the post then don't forget to give a like, it encourages us.

Author: Unpredictable 

2 comments:

  1. prashant password to maine kuch nahi daala tha to default password kuch dena hoga kya file hide ho gaya hgai

    ReplyDelete
  2. Bhai tu step 3 bhul gya hai... Khair tum password me type kr PASSWORD_GOES_HERE
    Kaam ho jayega.. lolz...

    ReplyDelete