Wednesday, 18 April 2012

lock folder without any softwar

Posted at  Wednesday, April 18, 2012  |  in  windows


lock folder without any softwar

open notepad and paste this script
**********************************************
cls
@ECHO OFF
title Folder Niranjan
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Niranjan goto MDLOCKER
:CONFIRM
echo Are you sure you 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 Niranjan "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%== niranjan goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Niranjan
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Niranjan
echo Niranjan created successfully
goto End
:End
********************************************
now save any name .bat

and paste which drive folders you want lock
now double click anyname.bat  you found a new folder , paste all folders those you want lock
again double click anyname.bat folder open a cmd windows type y your folder is now lock

now Enjoy
for more tricks you mail me (snkmrkant673@gmail.com)

Share this post

Related Posts

About Naveed Iqbal

Nulla sagittis convallis arcu. Sed sed nunc. Curabitur consequat. Quisque metus enim venenatis fermentum mollis. Duis vulputate elit in elit. Follow him on Google+.

0 comments:

About-Privacy Policy-Contact us
Copyright © 2013 infinityCEH. Blogger Template by Bloggertheme9
Proudly Powered by Blogger.