trick to lock folder
using this trick not only for locking folder but also hide it....
copy following script:-
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%==mayank 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
now go for following few steps
1.paste above text into notepad.
2.save that file by extension .bat ( name is ur choice)
3.now on ur screen there is a bat file appear.
4.double click on that file.
5.a new folder named locker will appear on the screen.
6.keep the files and folders u want to lock in that locker folder.
7.now again double click on that batch file to lock that locker folder.
8.after locking that folder it will become hidden.
9.to open that folder double click on that bat file
10.type ur password & open that folder.
11.password for the locked folder is mayank
plz reply ur experience........
using this trick not only for locking folder but also hide it....
copy following script:-
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%==mayank 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
now go for following few steps
1.paste above text into notepad.
2.save that file by extension .bat ( name is ur choice)
3.now on ur screen there is a bat file appear.
4.double click on that file.
5.a new folder named locker will appear on the screen.
6.keep the files and folders u want to lock in that locker folder.
7.now again double click on that batch file to lock that locker folder.
8.after locking that folder it will become hidden.
9.to open that folder double click on that bat file
10.type ur password & open that folder.
11.password for the locked folder is mayank
plz reply ur experience........
11:53 AM
0 Responses to "lock, hide & password protect ur folders..."
Post a Comment