Go Back   TechArena Community > Software > Tips & Tweaks
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 19-01-2009
Member
 
Join Date: Apr 2008
Posts: 586
idea 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.
Reply With Quote
  #2  
Old 19-01-2009
Member
 
Join Date: Dec 2008
Posts: 7
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.
Reply With Quote
  #3  
Old 19-01-2009
Member
 
Join Date: Dec 2008
Posts: 9
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.
Reply With Quote
  #4  
Old 19-01-2009
Member
 
Join Date: Dec 2008
Posts: 3
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
Reply With Quote
  #5  
Old 19-01-2009
Member
 
Join Date: Apr 2008
Posts: 586
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.......
Reply With Quote
  #6  
Old 19-01-2009
Member
 
Join Date: Apr 2008
Posts: 437
Re: Lock folder without any software

I think this method will help you,

Folder Lock Without Any Software

Thanks.
Reply With Quote
  #7  
Old 21-01-2009
Member
 
Join Date: Jan 2009
Posts: 1,738
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.
Reply With Quote
  #8  
Old 03-03-2009
Member
 
Join Date: Sep 2008
Posts: 4
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..
Reply With Quote
  #9  
Old 21-03-2009
PreetiD
 
Posts: n/a
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.
Reply With Quote
  #10  
Old 21-03-2009
Member
 
Join Date: Apr 2008
Posts: 586
Re: Lock folder without any software

Quote:
Originally Posted by PreetiD View Post
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
Reply With Quote
  #11  
Old 21-03-2009
Member
 
Join Date: May 2008
Posts: 96
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
__________________
I like Surfing
Reply With Quote
  #12  
Old 21-03-2009
Member
 
Join Date: Sep 2008
Posts: 4
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
Reply With Quote
  #13  
Old 11-10-2010
Member
 
Join Date: Oct 2010
Posts: 1
Re: Lock folder without any software


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.
Reply With Quote
Reply

  TechArena Community > Software > Tips & Tweaks
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Lock folder without any software"
Thread Thread Starter Forum Replies Last Post
Best free folder lock software for windows 8 W8 Windows Software 2 29-12-2012 06:59 PM
Download Free folder lock software for mobile phone Simpson Portable Devices 77 01-11-2011 11:12 PM
Folder Lock Without Any Software JoeFrat Tips & Tweaks 9 24-07-2011 03:26 AM
My Folder lock 5.8.0' software does?nt work Calandar Software Development 4 03-01-2011 03:50 PM
Folder lock software for nokia mobile phone Anoop Portable Devices 10 09-10-2010 02:34 AM


All times are GMT +5.5. The time now is 05:33 AM.