© Don't Republish Any Article Of This Site √

09 November, 2012

Lock A Folder Without Any Software


SOCIALIZE IT →
In the previous post I shared a Facebook like button for blogger and in this post I am going to teach you that how you can lock a folder without any software. There are a lot of ways of locking a folder. Some of them also uses software to lock folder but in this way we shall not use any software. In this trick we shall batch the code in notepad. So let me teach you that how to lock any folder without software.



How To Lock A Folder Without Any Software

→ Go To Start >> All Programmes >> Accessories >> Open Notepad
→ Copy The Code Below & Paste In Notepad.


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%==123456789 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 We Added Password Which Is 123456789  You Can Change It With Yours.
→ Now Save The Notepad Notepad File As name.bat



→ Click Save.
→ After Clicking Save a Batch File Will Be Created.


→ Open That Batch File , At The Same You Will See Locker Folder.
→ Store Your Personal Files In That Folder Which You Want To Lock.
→ After Storing Files Open That Batch File , Press Y & Hit Enter.


→ Now Your Folder Will Be Unvisible & Protected But Batch File Will Be There.
→ To Unlock That Folder , Open Batch File , Enter Password & Press Enter.


That's All , I Hope You Will Like This . For More Tricks Keep Us Visiting Regularly.


0 comments:

 

Ranking

Recent Comments

Recent Comments Widget

Recent Posts

Copyright © 2012-2013. All Rights Reserved | My Tech Cafe | Designed By

Home | Contact Us | About Us | Privacy Policy |Top