To Lock Folders without using any type of Software program,
- but but let me tell u itworks only on xp and previous version and not on vista or win7 i will let u know as soon as i will come across it......search is still on process
- Just copy the codes given below,
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%== PASSWORD 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
- Paste the copied code in a notepad and change the word “PASSWORD” (in the line, if NOT %pass%== PASSWORD goto FAIL ) with your password which you want to set.
- Save the file as XYZ.bat where XYZ is any arbitrary name selected by you.
- A batch file is immediately created where you have saved the XYZ.bat file.
- A new folder named “Locker” is created here after double clicking the XYZ.bat file.
- Add the files or folders you want to lock into the newly created folder.
- Again double click XYZ.bat.
- Type “Y” or “y”.
- The locker is locked and hidden.
- If you want to unlock it, just double click XYZ.bat and enter the password in the appeared window.
Comments
Post a Comment