Dec 15, 2008

Lock folders without softwares and with notepad




1) Open Notepad and copy the contents of the code below.

cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303
09D}" 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-08002B303
09D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303
09D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==type your password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303
09D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303
09D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End


2) Change the password by replacing ‘type your password here‘ in the code with your password.


3) Save it as XYZ.bat (Note: Try to be innovative and save it in such a way that it sounds like a system file so that nobody will try to bother clicking it)

4) Close the file if it is still opened and double click XYZ.bat

5) It will create a new folder called ‘Locker’ automatically. (If you want the file name to be different, find and replace Locker in the code with the name of your choice). This new locker folder will be created in the same hierarchy as the .bat file.

6) Place the contents inside and double click XYZ.bat, it will ask whether you want to lock. Say ‘Y’ and now your folder will disappear.

7) To view again, double click XYZ.bat again and enter your password.

Lock folders without softwares and with notepad




1) Open Notepad and copy the contents of the code below.

cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303
09D}" 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-08002B303
09D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303
09D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==type your password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303
09D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303
09D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End


2) Change the password by replacing ‘type your password here‘ in the code with your password.


3) Save it as XYZ.bat (Note: Try to be innovative and save it in such a way that it sounds like a system file so that nobody will try to bother clicking it)

4) Close the file if it is still opened and double click XYZ.bat

5) It will create a new folder called ‘Locker’ automatically. (If you want the file name to be different, find and replace Locker in the code with the name of your choice). This new locker folder will be created in the same hierarchy as the .bat file.

6) Place the contents inside and double click XYZ.bat, it will ask whether you want to lock. Say ‘Y’ and now your folder will disappear.

7) To view again, double click XYZ.bat again and enter your password.

Lock folders without softwares




Suppose you want to lock the folder movies in D: which has path D:\Games .

Open notepad and type

ren Games Games.{21EC2020-3AEA-1069-A2DD-08002B303
09D}

Now Save this text file as "Location.bat" in the same drive [ D:\ ]

Now Open notepad again and type

ren Games.{21EC2020-3AEA-1069-A2DD-08002B303
09D} Games

Now save this text file as "Key.bat" in the same drive

Now two batch file are created Location and Key.Press Location and the folder will change to control panel such that you cannot view its Contents .Press key and you'll get back your original folder .



You can also change the folder in to


Inbox
{00020D75-0000-0000-C000-000000000046}


Microsoft Network
{00028B00-0000-0000-C000-000000000046}
----------------------------------------
--------------------------------------------------------
Programs Folder
{7be9d83c-a729-4d97-b5a7-1b7313c39e0a}


Start Menu Folder
{48e7caab-b918-4e58-a94d-505519c795dc}


Network Computers
{1f4de370-d627-11d1-ba4f-00a0c91eedba}
----------------------------------------
---------------------------------------------------------
My Computer
{20D04FE0-3AEA-1069-A2D8-08002B30309D}


My Network Places
{208D2C60-3AEA-1069-A2D7-08002B30309D}



Network Connections
{7007ACC7-3202-11D1-AAD2-00805FC1270E}


Printers and Faxes
{2227A280-3AEA-1069-A2DE-08002B30309D}
----------------------------------------
---------------------------------------------------------
Recycle Bin
{645FF040-5081-101B-9F08-00AA002F954E}


Scanners and Cameras
{E211B736-43FD-11D1-9EFB-0000F8757FCD}


Scheduled Tasks
{D6277990-4C6A-11CF-8D87-00AA0060F5BF}


Web Folders
{BDEADF00-C265-11d0-BCED-00A0C90AB50F}