Tell-A-Friend  |  Bookmark Us  |  Sign-Up  |  Help
 
 

Go Back   IndusLadies > Kitchen and Household > Personal Technology
 

Forgot username / password?
Register Now!

Notices

Reply Post New Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 26th September 2007, 03:38 AM
Junior ILite
 
Join Date: Jun 2007
City: Hyderabad
State: Andhra Pradesh
Country: India
Posts: 96
Referrals: 0
Default Folder locking mechanism without any special software

Many people have been looking for an alternative way to lock folders without the use of any alternative software..
Stpes:
1)Open a Notepad and copy the below code and save as Locker.bat wherever you want.
2)After saved the Locker batch file, Right click the batch file select Edit option.
3)Change the password inside the file into your own password.
4)i.e. Find Type your own Password here textand Replace withyour own password, keep it in mind.
5)Now double click on Locker.bat for first time to start, it will create folder named as Locker automatically for you.
6)After creation of the Locker folder, place the contents u want to lock inside the Locker Folder.
7)Come out the Locker folder and double click the Locker.bat again.
It will ask, Are you sure u want to lock the folder(Y/N), Give Y to that. Then the folder will be vanished.
9)When you want to unlock the folder again, double click the Locker.bat again.
10)It will ask, Enter password to Unlock folder, Give the password which you have specifed.
11)Now the Locker folder will be visible to you.
12)You can continue the same logic again to lock the folder.
Code for Batch file:

cls
@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%==
Type your own Password here 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
:End
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #2 (permalink)  
Old 1st October 2007, 03:05 AM
gauridatta's Avatar
Junior ILite
 
Join Date: Sep 2007
City: DOHA
State: QATAR
Country: Qatar
Posts: 83
Referrals: 0
Thumbs down Re: Folder locking mechanism without any special software

Quote:
Originally Posted by Sravanthi28 View Post
Many people have been looking for an alternative way to lock folders without the use of any alternative software..
Stpes:
1)Open a Notepad and copy the below code and save as Locker.bat wherever you want.
2)After saved the Locker batch file, Right click the batch file select Edit option.
3)Change the password inside the file into your own password.
4)i.e. Find Type your own Password here textand Replace withyour own password, keep it in mind.
5)Now double click on Locker.bat for first time to start, it will create folder named as Locker automatically for you.
6)After creation of the Locker folder, place the contents u want to lock inside the Locker Folder.
7)Come out the Locker folder and double click the Locker.bat again.
It will ask, Are you sure u want to lock the folder(Y/N), Give Y to that. Then the folder will be vanished.
9)When you want to unlock the folder again, double click the Locker.bat again.
10)It will ask, Enter password to Unlock folder, Give the password which you have specifed.
11)Now the Locker folder will be visible to you.
12)You can continue the same logic again to lock the folder.
Code for Batch file:

cls
@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%==
Type your own Password here 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
:End
Excellent post, amazing i was looking for such system
Thanx a lot for solving my prob.
Luv
gauri
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 1st October 2007, 09:42 AM
Silver ILite
 
Join Date: Feb 2007
City: Phoenix
State: Arizona
Country: United States
Posts: 533
Referrals: 0
Default Re: Folder locking mechanism without any special software

Its Just great

i've been looking for this sort of thing from a long long time
thanks a lot for posting this

~Abha
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 7th October 2007, 12:20 PM
New ILite
 
Join Date: Sep 2007
City: SangaReddy
State: AP
Country: India
Posts: 14
Referrals: 0
Default Re: Folder locking mechanism without any special software

Hatsoff to you for this code. Excellent Sravanthi.
__________________
Eswari
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 10th October 2007, 01:08 AM
Tweety's Avatar
Junior ILite
 
Join Date: Sep 2007
City: Sharjah
State: Sharjah
Country: United Arab Emirates
Posts: 59
Referrals: 0
Thumbs up Re: Folder locking mechanism without any special software

Wonderful!!. I've been looking for such a thing for a long time.
Thank you so much sravanthi
Tweety
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 7th March 2008, 12:57 PM
kutekrish's Avatar
Junior ILite
 
Join Date: Sep 2007
City: Bangalore
State: Karnataka
Country: India
Posts: 90
Referrals: 0
Default Re: Folder locking mechanism without any special software

Its as good as locking a door with a hi-tech 10 digit number lock and pasting the passcode on a big banner just next to the lock. Anyone who has slightest knowledge can open the batch file and know you password plus take all your data.....

It would be meaningful if you put this code to say some VB/.NET executable/dll and distribute.

Quote:
Originally Posted by Sravanthi28 View Post
Many people have been looking for an alternative way to lock folders without the use of any alternative software..
Stpes:
1)Open a Notepad and copy the below code and save as Locker.bat wherever you want.
2)After saved the Locker batch file, Right click the batch file select Edit option.
3)Change the password inside the file into your own password.
4)i.e. Find Type your own Password here textand Replace withyour own password, keep it in mind.
5)Now double click on Locker.bat for first time to start, it will create folder named as Locker automatically for you.
6)After creation of the Locker folder, place the contents u want to lock inside the Locker Folder.
7)Come out the Locker folder and double click the Locker.bat again.
It will ask, Are you sure u want to lock the folder(Y/N), Give Y to that. Then the folder will be vanished.
9)When you want to unlock the folder again, double click the Locker.bat again.
10)It will ask, Enter password to Unlock folder, Give the password which you have specifed.
11)Now the Locker folder will be visible to you.
12)You can continue the same logic again to lock the folder.
Code for Batch file:

cls
@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%==
Type your own Password here 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
:End
__________________
Dont work hard... Work Smart
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 28th May 2008, 02:57 AM
New ILite
 
Join Date: May 2008
City: india
State: tamilnadu
Country: Oman
Posts: 4
Referrals: 0
Default Re: Folder locking mechanism without any special software

This Coding Is In What Language? Can U Tell Me
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 30th June 2008, 10:04 AM
orion80's Avatar
Junior ILite
 
Join Date: Sep 2007
City: Bangalore
State: Karnataka
Country: India
Posts: 133
Referrals: 0
Default Re: Folder locking mechanism without any special software

Hi Sravanthi,

If you right click on the Locker.bat file and use "Open with" option and select "notepad" or any other text editor, your password will be visible to you. Maybe you can modify the code to give and exe file.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

ReplyPost New Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cleaning Temp folder Nivedi Personal Technology 2 14th February 2008 02:21 PM
Software Eng.......? krishnaamma Forward Messages & Jokes 2 8th October 2007 02:22 PM


All times are GMT -5. The time now is 01:19 PM.