Lock folder without any software
Suppose you want to lock the folder movies in d: which has the path D:\movies.
In the same drive create a text file and type
ren movies movies.{21EC2020-3AEA-1069-A2DD-08002B30309D}
Now save this text file as loc.bat
Create another text file and type in it
ren movies.{21EC2020-3AEA-1069-A2DD-08002B30309D} movies
Now save this text file as key.bat
you can see 2 batch files loc and key. Press loc and the folder movies will change to control panel and you cannot view its contents. Press key and you will get back your original folder. :thumbup1:
Free Folder lock software
Thanks,
I was searching for free folder lock software from a long time but after getting this tip now i don't need any software. I can do it directly with the notepad.
Thanks again.
Re: Lock folder without any software
Another nice thing is that,
most of the software can lock a one folder at a time but with the help of this tip you can lock multiple folders at the same time.
Really helpful tip,
Thanks. :thumbup1:
Re: Lock folder without any software
Thanks for the tip - unfortunately it didn't work for me - could it be because I am using Vista?
Regards
Re: Lock folder without any software
I am not sure whether it works on vista or not.
but try again properly as per the given instructions.
hope it would work for u.......:thumbup1:
Re: Lock folder without any software
Re: Lock folder without any software
This is a kind of Batch Programming, Isn't It! anyways thanks. nice tip. can hide some personal stuff on anybody's computer.
Re: Lock folder without any software
hi there,
its trustworthy procedure..but I still ind really hard to hide my folder from my frens.I want to disable a folder to delete or access inside.just like it does in operating system WIN98.Through Ascii code ,in WIN98,it disables anyone to delete or get acces to it.so i wonder if there's any such procedures in XP!!!!??
Any suggestion is welcome..:biggrin:
Re: Lock folder without any software
Really Nice one and of great use but the 2 batch files are visible and anyone can click on those and can view our data which we want to hide.
So is there anything to hide these 2 batch files as well.
Re: Lock folder without any software
Quote:
Originally Posted by
PreetiD
Really Nice one and of great use but the 2 batch files are visible and anyone can click on those and can view our data which we want to hide.
So is there anything to hide these 2 batch files as well.
hello , this is only Catch, To Lock the Two Batch files we would need a locking softwares and if we use a software there is no point in using the above method
Re: Lock folder without any software
In this method, the .bat files are visible. But you can keep these .bat files in different partition and the locking folder in different partition. Or.. you can keep those .bat files in a very different folder and the locking folder in a different folder in the same partition. Also, you can name the bat files with different letters other than loc & key. This way, it will be almost impossible for anyone to identify that these are bat files for locking anything. I use this method and is safe till now :P
Re: Lock folder without any software
the only locking folder procedure i found ;...is to go to properties of a folder and grant full control to "one a/c name".for this u 've to create a user and grant him the full control
Re: Lock folder without any software
:biggrin:
hello everybody you can try this code to simply lock any folder:-
cls
@ECHO OFF
title Folder Personal
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Personal 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 Personal "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%==pwd123 HERE goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” Personal
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Personal
echo Personal created successfully
goto End
:End
Just copy the above code and paste it into Notepad. Save it by giving it any name you choose. Assuming, the file is called secret.txt, change the extension to ‘.bat‘ so that the new name becomes secret.bat. What you get is a batch file. You could actually save one step by saving the file in Notepad directly as secret.bat by enclosing the file name like this: “secret.bat” . This batch file is the one that you need. You can edit this batch file to change the folder name and the password. To change the name of the folder that is created, change the ‘Personal’ (in bold in the above code) to any another name you choose. Likewise change the ‘pwd123′ (in red in the code) to anything else.
Now let’s see how to use it. Place the file in the location where you would like to create your protected folder. Run the batch file by double clicking on it. This will create a folder named Personal in the same location as the batch file. You can now open this folder and place any files in it. Once you are finished, run the batch file again. You will be asked whether you want to lock the folder. Entry ‘Y’ (for Yes) and hit Enter. The folder becomes invisible. To retrieve the folder, run the batch file again. You will be prompted to enter the password. Enter the password, hit enter and voila! the folder appears.