Originally Posted by
vladmire
@bordline
howabout making your folders private?
__________________________________________________
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020- 3AEA-1069- A2DD-08002B30309 D}" 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-08002B30309 D}"
attrib +h +s "Control Panel.{21EC2020- 3AEA-1069- A2DD-08002B30309 D}"
echo Folder Locked!
goto End
:UNLOCK
echo perverted26™
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-08002B30309 D}"
ren "Control Panel.{21EC2020- 3AEA-1069- A2DD-08002B30309 D}" Locker
echo Folder Unlocked Successfully!
goto End
:FAIL
echo Invalid Password
goto end
:MDLOCKER
md Locker
echo Locker Created Successfully!
goto End
:End
Instructions:
1. copy the codes given in notepad and save "anynameyoulike. bat" (without quotes and that is with the extension of .bat)
NOTE: in place of password in the code given type your desired password.
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 saved.
3. now add the files you want to be locked in that folder.
4. double click on the batch file. it will ask for locking the folder formed. Type y (yes). the folder will be locked and hidden.
5. to unlock, double click on the batch file again and enter the password in the pop-up window.