copy this in a note pad .... rename it to lock.bat .... now u have to put
passwd ...in the place >>>> set/p "pass=>xxxxx" ...... in the below programm...
now what you have to do it run that bat file ... a folder called lock will be created
now ... put what ever you wish to in it ...
then again run the program
....what it does it renames lock folder to
Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303
but this is the address of control panel .... so when you click it control panel will open
copy this >>>>>>
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303
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-08002B303
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==type your password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
No comments:
Post a Comment