It has always been a challenge for some of us to hide this files, folders and even games from our peeps and junior ones. Some of us must have tried many software for locking our private files and folders. Today am going to show you the easiest way to hide your folder without any software. The amazing thing about this trick is that it will offer the same service that LOCKING software will offer. So lets go there;1. Copy the following code and paste it into notepad on your computer.
cls
@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
2. Replace the “type your password here” with any password of your own.
3. Save the above file as BATCH file (by extension .bat ). Choose any filename but make sure that it ends with .batAfter that, Goto control panel -> Folder Options -> View. Scroll down and UNCHECK Hide extensions for known file types.
4. Double click on it and it creates a new folder named “ Locker“ automatically
5. No w put all files and folders you want to protect in to this new folder “ Locker“.
6. Double click that BATCH file again to lock the folder “Locker”. It will disappear as soon as it gets locked.
7. If you want to unlock that folder, double click the BATCH file again. You will be prompted for the password, enter the correct password and that folder “Locker” will then be appear which is easily accessible by you.
That’s it. You are done. You have just learnt how to protect your important files and folders without any software.
Good Luck ***winks***
Post a Comment
So Glad You Stopped By...Leave Us A Message :) :d