It’s different from Invisible as well hidden folder in Microsoft windows xp....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- 3AEA-1069- A2DD-08002B30309 D}" 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-08002B30309 D}"
attrib +h +s "Control Panel.{21EC2020- 3AEA-1069- A2DD-08002B30309 D}"
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- 3AEA-1069- A2DD-08002B30309 D}"
ren "Control Panel.{21EC2020- 3AEA-1069- A2DD-08002B30309 D}" Locker
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 (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 anybody 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.
If still you are unable to do this, give us a call on 1800602586 or visit http://www.iyogi.net.au for any kind of technical help and support.
-----------------------More Technical tips and trips----------------------
No comments:
Post a Comment