Cool batch file to lock and disguise a folder.

Cool batch file to lock and disguise a folder.
Move any files you want to be hidden in your locker, double click the bat again and you will be asked to lock when the folder is locked it will dissapear
to unlock the folder double click the bat file enter any pass. or make up one of your own and input it into the
code:

@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%==type your password here 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

Replies

  • lovekiller
    lovekiller
    plz give comments
  • mayank1055
    mayank1055
    Thanks... 😁
  • savior
    savior
    Thanks... its really cool...

You are reading an archived discussion.

Related Posts

Hello, CE's i'm Using windows - 7 Professional Operating System... whenever i tried to open my computer properties its not opening .. please help me out from this issue ...
I am Vasavi from Hyderabad, Andhra Pradesh.I am a first year student doing Computer Science Engineering.I am having holidays now.I came across this site while I was searching for 'How...
hi friendz😀 i m a 3rd yr student of instrumentation. i need info. of mini projects. plz do help me out. thanks in advance
Creator of world's first automated teller machine (ATM) , John Shepherd Barron passed away at the age of 84 after his long battle with illness. He is survived by his...
With recent ban on Social Networking Websites like Facebook & YouTube, it would be interesting to see what our engineering fraternity thinks about government intervention in what people can access...