Jump to content
xisto Community
Sign in to follow this  

Locking Folders Without An Application!

Recommended Posts

1- Make a new folder ( name it as you like )

2- Inside this folder make a ( TXT ) file & copy inside it this:

Quote: cls@ECHO OFFtitle Folder Privateif EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCKif NOT EXIST Private goto MDLOCKER:CONFIRMecho Are you sure you want to lock the folder(Y/N)set/p "cho=>"if %cho%==Y goto LOCKif %cho%==y goto LOCKif %cho%==n goto ENDif %cho%==N goto ENDecho Invalid choice.goto CONFIRM:LOCKren Private "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"echo Folder lockedgoto End:UNLOCKecho Enter password to unlock folderset/p "pass=>"if NOT %pass%== password here goto FAILattrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Privateecho Folder Unlocked successfullygoto End:FAILecho Invalid passwordgoto end:MDLOCKERmd Privateecho Private created successfullygoto End:End

3- After you copy the Commanding go to line ( 23 ) u will find this word : password here (Change it with ) any password you like.

4- After that make âsave asâ & name as (locker.bat )

5- Now back to the folder & you will find a ( LOCKER ) commanding.

6- Click on it & you will find a new folder (Private )

7- Okay, now copy what you want in it & after that go to ( locker ) by click on it , it will open and ask you want lock your folder? Y/N ?

8- Type Y

9- If you want to UNLOCK your folder ,go to (locker) & type your pass and you will see your private folder.

eNJOY :mellow:

Share this post

Link to post
Share on other sites

Indeed, preventing access with ntfs permissions is more secure than a batch script with a password that everybody can read. I used to have a nifty tool that locked folders by chmodding the folder and hding the security tab in the folder properties, very simple, but it did work :mellow: .

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.