Paste This Code यह कोड पेस्ट करिये

cls

@echo off
title Folder Locker
IF EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303­­­09D}” GOTO UNLOCK
IF NOT EXIST Locker GOTO MDLOCKER
echo Folder Created.
:CONFIRM
echo Are you sure you 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­­­09D}”
attrib +h +s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303­­­09D}”
echo Folder Locked.
GOTO END

:UNLOCK
echo Enter password to unlock the Folder :
set/p “pass=”
IF NOT %pass% == Your-Pasword-Here GOTO FAIL
attrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303­­­09D}”
ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303­­­09D}” Locker
echo Folder Unlocked Successfully.
GOTO END
:FAIL
echo Invalid Password!
GOTO END

:MDLOCKER
md Locker
echo Folder created.

GOTO END
:END

3 Comments

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s