Just follow the following instructions:
1) Type the following code in a note pad and save the note pad in your pc with the name ‘ NOMANs Lock Up.bat ‘ (that is with the extension of .bat). You can replace the ‘NOMAN's Lock Up ‘ portion with anything u want to use.2) A batch file will be created where you have saved. Now double click on it, it will make a folder with the name ‘ Locker ‘ at the same place where the batch file is save.
3) Now add the files you want to lock in that folder named ‘ Locker ‘.
4) Double click on the batch file. It will ask for locking the folder. Type ‘ Y ‘ OR ‘ y ‘ to lock the items. The folder will be locked and hidden.
[NB: This is a very strong process. Even if you choose Tools - Folder Options… - View - Show hidden files and folders, the ‘ Locker ‘ folder will remain hidden. Only a correct password can unlock it.
5) To unlock the items, just double click on the batch file again and enter the password unlock in the new opened window. Then hit ‘ Enter '.....
Code:
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo This is created by NOMAN,Hey Dude,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%==unlock 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 NOMAN created successfully
goto End
:End
No comments:
Post a Comment