People are think how he/she can lock his/her folder without using any software.Now i share a idea with you to lock your folder without any software.It is not hard to make folder lock with out any software.here you need to write some code to do this work.
Now follow the following command to lock your folder without using any software:..
First of all go to the start menu>run>notepad.then write the following code on notepad which is given bellow.
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Confidential 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 Confidential "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 the Password to unlock folder
set/p "pass=>"
if NOT %pass%== tct goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Confidential
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md confidential
echo Confidential created successfully
goto End
Here tct is password of your folder.then save it as locker.bat.Now double clock on it.
Here you get a Folder named Confidential.Now again double click on locker.bat then you see the cmd screen and then fill the condition Y/N.If you write Y then your folder will lock.If N then it remain unlock.
after condition if the folder Confidential is locked.If you want to unlock it then again double click on it.And give your password.
And now your folder is unlock.Enjoy it.
No comments:
Post a Comment