To Lock Folders without using any type of Software program

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhy8qCxXs-vS2hNpdZUAA4t8R-q97pH8qL-0jv38Sx3p5t1LquMszAkTdbDb_w8APfdz67DGXwQCxkFuN3D-lUbuSh6j0rqflHzKfcGypzHDcDcMy6dz4lxLsrKKr52kDJI0P0RAIf8het2/s200/Easy+File+Locker.jpg

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

  1. 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.
  2. Save the file as ibllezboy.bat where ibllezboy is any arbitrary name selected by you.
  3. A batch file is immediately created where you have saved the ibllezboy.bat file.
  4. A new folder named “Locker” is created here after double clicking the ibllezboy.bat file.
  5. Add the files or folders you want to lock into the newly created folder.
  6. Again double click ibllezboy.bat.
  7. Type “Y” or “y”.
  8. The locker is locked and hidden.
  9. If you want to unlock it, just double click XYZ.bat and enter the password in the appeared window.


Please subscribe, leave a comment, follow this blog and share this article with your friends and colleagues.
by: http://kedirizone.blogspot.com

Share This On :


Related Post :

0 comments:

Post a Comment

 

Copyright © 2011 Kediri Zone | Design by Ibllezboy

▲ TOP