how to lock a folder without using any software in xp!

View previous topic View next topic Go down

default how to lock a folder without using any software in xp!

Post by JOHN2x on Sat Aug 16, 2008 1:57 am

Code:
*Copy the following codes
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 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
Code:

* Now paste it in notepad.
* Change the "type your password here" with your password (Marked as bold in the above posted matter).
* Save it as batch file(with extension .bat).Any name will do.
* Now you see a batch file. Double click it to create a folder locker.
* A new folder named Locker would be formed at the same location.
* Now brings all the files you want to hide in the locker folder.
* Now double click the batch file to lock the folder namely Locker.
* If you want to unlock your files,double click the batch file again and you would be prompted for password.Enter the password and enjoy access to the folder.
__________________
avatar
JOHN2x
Loyal Member
Loyal  Member

Male Number of posts : 402
Age : 26
Location : IN YOUR MIND
Gfx Experience : The meaning of life is that it ends.
My Mood :
Points : 0
Registration date : 2008-07-29

View user profile

Back to top Go down

default Re: how to lock a folder without using any software in xp!

Post by --shexang-- on Fri Sep 12, 2008 9:11 am

thankzzz
avatar
--shexang--
AdikForumer
AdikForumer

Female Number of posts : 152
Age : 26
Location : philippines
Job/hobbies : student
Gfx Experience : be ur self
Points : 0
Registration date : 2008-09-06

View user profile http://profiles.friendster.com/stlla14

Back to top Go down

default Re: how to lock a folder without using any software in xp!

Post by jhegie on Thu Sep 18, 2008 3:02 am

enk you
avatar
jhegie
Loyal Member
Loyal  Member

Female Number of posts : 396
Age : 27
Location : naga city
Job/hobbies : atudent pah
Gfx Experience : expect the unexpected
My Mood :
Points : 0
Registration date : 2008-09-01

View user profile http://profiles.friendster.com/noonecanhurtmewatev

Back to top Go down

default Re: how to lock a folder without using any software in xp!

Post by black_heart_pychzen029 on Thu Oct 02, 2008 8:19 am

wow nice thanks for sharing :D











NEy-|13|Ever




avatar
black_heart_pychzen029
Cbox moderator
Cbox  moderator

Male Number of posts : 571
Age : 29
Location : puert0 galera or. mind0ro
Job/hobbies : playing online game
Gfx Experience : CompuTeR-AdiKS Nd DeFence-of-the Ancient...*and* *online games*...
Points : 0
Registration date : 2008-08-14

View user profile http://codectors.niceboard.net/

Back to top Go down

default Re: how to lock a folder without using any software in xp!

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum