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

Go Back   IndusLadies > Kitchen and Household > Personal Technology
 

Forgot username / password?
Register Now!
Home Register Forum Blogs Directory FAQ Mark Forums Read

Notices


Recent Threads
Go to first new post Coffee Mornings
Last post by Yashikushi
Today 10:57 PM
3,745 Replies, 29,895 Views
not sure if this is a...
by matraa
Last post by reshsabu
Today 10:54 PM
2 Replies, 85 Views
Extra Curricular...
by RituM
Last post by RituM
Today 10:50 PM
2 Replies, 28 Views
My work - ribbon...
Last post by Lencymol
Today 10:46 PM
21 Replies, 157 Views
Arabic Tutions Needed
by RituM
Last post by RituM
Today 10:44 PM
21 Replies, 243 Views
When I was at your age...
Last post by reshsabu
Today 10:44 PM
11 Replies, 426 Views
do you fiind this odd....
by trishaa
Last post by reshsabu
Today 10:39 PM
4 Replies, 158 Views
NOVEMBER nibbles
Last post by Yashikushi
Today 10:38 PM
43 Replies, 293 Views
annapakshi tanjore glass...
Last post by theartisticone
Today 10:28 PM
0 Replies, 8 Views
Infants - 2009
by lee50
Last post by Neetu_kumar
Today 10:27 PM
11 Replies, 146 Views
Current Poll
how did you find this painting?
EXCELLENT! - 100.00%
2 Votes
GOOD! - 0%
0 Votes
CAN IMPROVE! - 0%
0 Votes
NOT GOOD AT ALL! - 0%
0 Votes
Total Votes: 2
You may not vote on this poll.
Reply Post New Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 26th September 2007, 04:38 AM
Junior ILite
 
Join Date: Jun 2007
City: Hyderabad
State: Andhra Pradesh
Country: India
Posts: 91
Referrals: 1
Sravanthi28 hasn't received any reputations yet for posting
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.
8)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, 04:05 AM
gauridatta's Avatar
Junior ILite
 
Join Date: Sep 2007
City: DOHA
State: QATAR
Country: Qatar
Posts: 78
Referrals: 0
gauridatta hasn't received any reputations yet for posting
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.
8)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, 10:42 AM
Silver ILite
 
Join Date: Feb 2007
City: Phoenix
State: Arizona
Country: United States
Posts: 506
Referrals: 0
Abha hasn't received any reputations yet for posting
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, 01:20 PM
New ILite
 
Join Date: Sep 2007
City: NJ
State: NJ
Country: United States
Posts: 16
Referrals: 0
eswarireddy hasn't received any reputations yet for posting
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, 02:08 AM
Tweety's Avatar
Junior ILite
 
Join Date: Sep 2007
City: Sharjah
State: Sharjah
Country: United Arab Emirates
Posts: 56
Referrals: 0
Tweety hasn't received any reputations yet for posting
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, 01:57 PM
kutekrish's Avatar
Junior ILite
 
Join Date: Sep 2007
City: Bangalore
State: Karnataka
Country: India
Posts: 64
Referrals: 1
kutekrish hasn't received any reputations yet for posting
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. Big Laugh 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.
8)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, 03:57 AM
New ILite
 
Join Date: May 2008
City: india
State: tamilnadu
Country: Oman
Posts: 4
Referrals: 0
dhanaselvi hasn't received any reputations yet for posting
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, 11:04 AM
orion80's Avatar
Senior ILite
 
Join Date: Sep 2007
City: Bangalore
State: Karnataka
Country: India
Posts: 421
Referrals: 0
orion80 will become famous soon enough with reputations for friendly and helpful postings
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
  #9 (permalink)  
Old 28th March 2009, 05:29 PM
New ILite
 
Join Date: Mar 2009
City: kirkham
State: lancs
Country: United Kingdom
Posts: 1
Referrals: 0
todd434 hasn't received any reputations yet for posting
Default Re: Folder locking mechanism without any special software

Quote:
Originally Posted by kutekrish View Post
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. Big Laugh 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.
Yes, I agree but there are some good free batch to exe converters out there that will do the job nicely
Here is the same code, except I changed it a bit(, its rather long).

: Made By Todd Davies 28.03.09
@ECHO OFF
title control
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:START
cls
echo what do you want to do?
echo 1=lock/unlock
echo 2=user control
echo 3=run a task at a specified time
echo 4=send a message to this computer
echo 5=send a message to all computers on the network
set/p "choice=>"
if %choice%==2 goto ADD
if %choice%==1 goto CONFIRM
if %choice%==3 goto RUN
if %choice%==4 goto MSG
if %choice%==5 goto SEND
If %choice%==egg goto EGG
:CONFIRM
echo Are you sure you 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.
pause
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
cls
echo Folder locked
pause
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%== password goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
msg * Folder unlocked successfully
pause
cls
goto START
:FAIL
cls
echo Invalid password
pause
cls
goto UNLOCK
:MDLOCKER
md Locker
goto START
:EGG
telnet towel.blinkenlights.nl
pause
goto END
:ADD
echo choose:
echo 1=add an admin
echo 2=change a users password
set/p "choosenow=>"
if %choosenow%==1 goto ADDUSER
if %choosenow%==2 goto PASSWORDCHANGER
:ADDUSER
echo enter user name:
set/p "name=>"
net user %name% /add
net localgroup administrators %name% /add
echo There is now an administrator with the name you selected!
pause
cls
goto end
:PASSWORDCHANGER
echo enter the username:
set/p "username=>"
echo enter their password:
set/p "passwordis=>"
net user %username% %passwordis%
echo password changed
pause
cls
goto END
:RUN
echo enter time (24 hrs e.g: 15:47) :
set/p "time=>"
echo enter app (e.g. cmd.exe):
set/p "application=>"
at %time% /interactive "%application%"
echo done
pause
goto end
:MSG
echo enter your message:
set/p "msg=>"
msg * %msg%
cls
echo message sent
pause
goto end
:SEND
echo enter message:
set/p "netmsg=>"
net send * %netmsg%
cls
echo done
pause
:End
echo finish y/n?
set/p "finish=>"
if %finish%==Y goto FINAL
if %finish%==y goto FINAL
if %finish%==n goto START
if %finish%==N goto START
:FINAL

thanks, have fun
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply Post New Thread

Bookmarks

Thread Tools
Display Modes


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

Powered by vBadvanced CMPS v3.2.1

All times are GMT -5. The time now is 10:58 PM.