How to lock and hide your folder (using notepad)
You can hide everything really. This clever script will hide your folder, and to show it - click on the .bat and enter your password.
Replace the XXXX with your chosen passwordcls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
ONFIRM
echo Enter password to lock folder or for cancel press N
set/p "cho=>"
if %cho%==XXXX goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
OCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
NLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==XXXX 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
DLOCKER
md Locker
echo Locker created successfully
goto End
nd
Thank you. And If this helped you dont forget to +rep
Results 1 to 2 of 2
- 16 Mar. 2011 12:08am #1
How to lock and hide your folders (using notepad)
- 16 Mar. 2011 08:35am #2
bumpy lol XD