Jump to content
xisto Community
Sign in to follow this  

Locking A Folder With No Software At All! works on XP AND VISTA

Recommended Posts

I know that there may be some tutorials like this in the web, but I made this one a very long time ago :).

Simple Copy-Paste-Rename-Store-and LOCK. can work anywhere on any computer.



NO Software Required. Simple Lock your Folder, with these Few Steps. Ive tried it, and works great. Ive only tried it on Windows Xp, SP2.

IM not sure, if it works on other OS as well. but its harmless, so try it out.




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


2- inside this folder make a ( TXT ) file & copy inside it this (the entire thing)


Quote: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 u copy the Commanding go to line 23 (or try using shortcut- CTRL+F and type password to locate the line) u will find this word : password here (Change it with any password u like.) is :


eg: if NOT %pass%== narnia1234 goto FAIL

//so ur password here becomes narnia1234 .//


4- After that go to save as & name this file as "locker.bat "


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



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


7- Ok ,, now copy what u want in this "private Folder" & after that come out of the folder, and Double click on locker again. It will open and ask if you want to lock your folder? Y/N ?


8- Type Y. your private folder will dissapear.


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


it not only hides the fodler, but incase, u unhide all files... and try opening it without entering password, it'l take u to the control panel...


Also, if u want to store files on your Pen-Drive, u can use this script. No Software Required


Incase u delete your Locker file (just in case), then u can make a new one (but with the same password) and open it from that.


Alternatively, u can keep this locker file somewhere else, and when u want to open ur folder, only then bring it back to that place...

Share this post

Link to post
Share on other sites

Thats very good! If you have VB knowledge you could integrate with a simple program to act as a key and store it on another flash drive or your phone or something so your files are safe. (Vb would give a nice UI) Ill be saving this little tut!

Share this post

Link to post
Share on other sites

@ Deretto: Would've? Don't you mean "This IS nice to know about" ? :D I've never found such code this this on Search Engines, and now It's here. :) I'm very impressed with you FreedomOverdose! :)-Sky

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.