Friday, 16 December 2011
lock folder without any software
Do you like this story?
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgG9tXHKK0Vt1Y093-dMZWqL3qvD4RGARF78zN09hUgjR6bIMF-GeKVVhkakVFIfBcSecRcVIPbw5EH6tXKWMC169C8mZVygw228FdY9Uw2VG1IScu0ebY5n4YacpGJn6UbIKYCjqORq4Qx/s1600/folder.jpg)
Trick to Lock Folder without any Software
- Open Notepad [Start-->Run-->Notepad].
- In your Notepad just Copy/Paste the below code.
cls
:End
@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=>"
if NOT %pass%==tipstricks 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
- In the above batch code the password has been set as tipstricks.You can change it by editing the following line
if NOT %pass%==tipstricks goto FAIL
- Now save this notepad file as yourfoldername.bat ,here .bat is extension of your file. For now I am creating sure2download.bat file.
-sure2download
![author](https://lh5.googleusercontent.com/-1iGyhZHDYrk/T2BdqVDTYqI/AAAAAAAAAhs/qHeT3k-IZOE/s101/Resized-ZMTGY.jpg)
This post was written by: anurag mishra
anurag mishra is a professional blogger, web designer and front end web developer. i am also intrested in tech ,going on web and android . i am a student from india.
Follow him on Twitter
Subscribe to:
Post Comments (Atom)
0 Responses to “lock folder without any software”
Post a Comment