Monday, 5 January 2015

Lock Folder Without Software


Today i am writing a tip through which you would be able to lock any folder of yours without any use of software. Its really simple and wouldn't take much time.
There are several ways to set a password on foldersMost of these methods are used with the help of softwareThanks to this tip, you can easily create a password protected folder.For this open a simple notepad and copy paste this Code.

Code


cls
@ECHO OFF
title Folder MambaLock
if EXIST "COMPUTING Locker" goto UNLOCK
if NOT EXIST MambaLock goto MLOCKER
: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 MambaLock "COMPUTING Locker"
attrib +h +s "COMPUTING Locker"
echo Folder locked
goto End
:UNLOCK
echo Enter password to unlock folder
set/p "pass=>"
if NOT %pass%== mamba goto FAIL
attrib -h -s "COMPUTING Locker"
ren "COMPUTING Locker" MambaLock
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MLOCKER
md MambaLock
echo MambaLock created successfully
goto End

:End

You can change Password Like here we have "mamba". Save this file by any name as you like with .bat extension and select All files then click Save As. A Bat file will appear on screen double click it and a folder will appear. That would be the secret folder.
Double click on the file again locker.bat a command prompt window will open and will ask whether you want to lock the folder. Y Text and press ENTERFolder will disappear immediately and would remain as secret folder. if Steps are unclear you can see pictures given below to solve your problem.

You can follow steps from the pictures: (STEPS)

Step 1:
Step 2:


Step 3:

Step 4:

Step 5:

Step 6:

Step 7:

Waiting for your feedback! :)



No comments:

Post a Comment