Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,171,295 members, 7,881,092 topics. Date: Friday, 05 July 2024 at 12:13 PM

How To Lock A Folder On Your Pc Without Using Any Software - Computers - Nairaland

Nairaland Forum / Science/Technology / Computers / How To Lock A Folder On Your Pc Without Using Any Software (1084 Views)

Steps In Changing The Icon Of A Folder On Your Computer / How Do I Recover My Lost Folder On External Hard Drive: Help / Download Whatsapp For PC Without Bluestacks (2) (3) (4)

(1) (Reply) (Go Down)

How To Lock A Folder On Your Pc Without Using Any Software by kinibigdeal(m): 11:08pm On Nov 15, 2014
Sometimes friends have been
asking for an alternative
way to lock folders without
the use of any alternative
software. It’ll take only 5 steps ahead

Procedure

ø In Notepad copy the
code below

ø The default password is l"kinibigdeal” .
Change your password in the code,
where it shown as kinibigdeal in
as shown below. Password may be
any combination of alpha or/and
numeric.

ø Save this file as “locker.bat” .

ø Now double click on locker.bat .

ø I t will create a folder named: Locker
with automatic lock. After creation of
the folder, place the contents (your
files & folders) you wants to lock inside
the Folder and double click locker.bat
again. It will ask to lock the folder Y/N.
If you press y then it will lock the
folder and your folder will be hidden. To
unlock run again locker.bat , it will ask
to enter password, type in correct
password and you can see your folder
back.

ø Please don’t change anything except the
password, otherwise it may not work

èèèèèèèèèèCode starts line below èèèèèèèèèèèè
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-
A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDKINIBIGDEAL
:CONFIRM
echo Are you sure to Lock this 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 Your Secure
Folder
set/p "pass=>"
if NOT %pass%== kinibigdeal 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
:MDKINIBIGDEAL
md Locker
echo Locker created successfully
goto End
:En
Re: How To Lock A Folder On Your Pc Without Using Any Software by braine(m): 11:23pm On Nov 15, 2014
Imma try this
Re: How To Lock A Folder On Your Pc Without Using Any Software by oieda: 11:48pm On Nov 15, 2014
OP, does this actually 'lock' or hides then creates a program that unlocks it with password protection?

If I turn on 'show hidden. . .' and 'show system files and folders' I'd still see the folder na? Shebi?
Re: How To Lock A Folder On Your Pc Without Using Any Software by kinibigdeal(m): 8:02pm On Nov 16, 2014
Yes it will see it but you cannot access the folder except you input your default password

(1) (Reply)

Please Help For Graphics Drivers For Hp Compaq 6910p Windows 8.q / Installation Of Nairaland App On Laptop / Del, Shift, Ctrl, Fn & Alt Keys Stopped Working

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 8
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.