A simple trick for security of files.
Text for trick:
cls
@ECHO OFF
title Folder Private
if EXIST "HTG Locker" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
: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 Private "HTG Locker"
attrib +h +s "HTG Locker"
echo Folder locked
goto End
:UNLOCK
echo Enter password to unlock folder
set/p "pass=>"
if NOT %pass%== change_password goto FAIL
attrib -h -s "HTG Locker"
ren "HTG Locker" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End
2. In todays world Confidentiality is
very important,Specially for people
who provide service to other
people.
They cannot compromise security
of client’s data at any cost.
3. We all take secure measures to ensure
safety of our data in our devices i.e.
Pendrives,Laptops,Hardisks,etc.
Yet sometimes due to unavoidable
circumstances others may get access to our
devices.
4. Thus there is an
urgent need for a
method to increase
security of our
systems.
5. SO lets study about Folder lock.
It is a secure method to ensure that only
those person who know the password can
access the files inside a folder.
It does not require any Hi-tech or
unaffordable software.
Its FREE OF COST.
6. Follow the following steps to create a folder
lock inside your pendrive or on your desktop:
1. Create a new text
document.
7. 2.Paste following text into it
cls
@ECHO OFF
title Folder Private
if EXIST "HTG Locker" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
: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 Private "HTG Locker"
attrib +h +s "HTG Locker"
echo Folder locked
goto End
:UNLOCK
echo Enter password to unlock folder
set/p "pass=>"
if NOT %pass%== change_password goto FAIL
attrib -h -s "HTG Locker"
ren "HTG Locker" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End
You can COPY the TEXT
from DESCRIPTION of
this Presentation or
download it or mail me
regarding the text (For
other than slideshare
viewers).