Lock and hide files without using software apps
Note- Its different from Invisble as well hidden folder....here you need to have a password with which you can open your folder.
Here is the Code:
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-
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-
attrib +h +s "Control Panel.{21EC2020-
echo Folder locked
goto End
:UNLOCK
echo stuff by satish
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==TYPE UR PASSWORD HERE goto FAIL
attrib -h -s "Control Panel.{21EC2020-
ren "Control Panel.{21EC2020-
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
Instructions:
1) Copy the code above in a note pad and give it a name - name.bat (that is with the extension of .bat).
Replace name with anything you want.
Save the "*.bat" file where you want your locked (and not visible) folder on your pc.
Note-- In the code where it says "TYPE UR PASSWORD HERE" - type your desired password (no quotes ").
Your password can only contain letters and numerals - e.g. 0-9 and A-Z. Can use Caps but No symbols
2) A batch file will be created where you have saved.
Now double click on it, A folder with the name locker will be created in the same folder
where the batch file is saved.
3) Now add the files you want to be locked in that folder.
4) Double click on the batch file.
It will ask about locking the folder.
Type y(yes).
The folder will be locked and hidden.
5) To unlock, double-click on batch file again and enter the password in the new window opened.
6) The password can be changed by any body if they find this ".bat" file!
So, make sure that you the name is not so obvious and put this in some place not so obvious.
Not very many people will be looking for a .bat file.
Forum : www.MumbaiHangout.net
------------------
DISCLAIMER :
------------------
This message serves informational purposes only and should not be viewed as an irrevocable indenture between anyone. If you have erroneously received this message, please delete it immediately and notify the sender at MumbaiHangOut-Owner@yahoogroups.com. The recipient acknowledges that any views expressed in this message are those of the Individual sender and no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of The M.H.O. Group. M.H.O. reserves the right to repeal, change, amend, modify, add, or withdraw the contents herein without notice or obligation.
---------------------------------------------------
Note:- MHO is Not Responsible For Any Claims.
---------------------------------------------------
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch format to Traditional
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

No comments:
Post a Comment