hey guyz here I am again .This time I will Tell you How to Lock folder without any software .I have already told you how to hide but this time how to lock
yes lock
Here is the trick
what you have to do is that just copy the code below and paste it in text document and save as "lock.cmd".
now a cmd file is created now you just open it as you double click it a new folder named locker is created .now put all your stuff in that folder and again click the cmd file.now viola your folder is gone.
to unlock just double click again the cmd file and enter your password.wait a second vyou have not assigned any password..hahaha for default password is "pari".but you can change it but replacing the word pari with the password you desire int the code below.
exclude quotes everywhere.
"
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u 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 Locker "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=>"suhail
if NOT %pass%==type your password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
"
yes lock
Here is the trick
what you have to do is that just copy the code below and paste it in text document and save as "lock.cmd".
now a cmd file is created now you just open it as you double click it a new folder named locker is created .now put all your stuff in that folder and again click the cmd file.now viola your folder is gone.
to unlock just double click again the cmd file and enter your password.wait a second vyou have not assigned any password..hahaha for default password is "pari".but you can change it but replacing the word pari with the password you desire int the code below.
exclude quotes everywhere.
"
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u 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 Locker "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=>"suhail
if NOT %pass%==type your password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
"
No comments:
Post a Comment