+321 123 4567
info@test.com
  • Home
  • My Services
    • Web Design
    • Web Development
    • Technical Writing
  • Portfolio
  • My Thoughts
  • Free Tools
    • Photo Editor
    • Avatar Generator
    • Email Migration Tool
    • QR Code Generator
    • RSS to HTML Converter
    • Rich Text Editor
    • IP Address Geolocation
    • Base64 Image Encoder
    • NATO Translator
    • All Tools
  • Contact
Home
Windows
Lock and Hide Your Folders Without Any Software

Lock and Hide Your Folders Without Any Software

Wale Adekile
December 22, 2009

In order to secure your privacy on your pc, u might need to lock certain folders. It’ll only take a couple of steps and you’re done


The default password is “yourpasswordhere”. This is the only thing you’re gonna change in the code.

1. Copy the code below to notepad

cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDCAPRIOFILES
: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%== yourpasswordhere 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
:MDCAPRIOFILES
md Locker
echo Locker created successfully
goto End
:End

2. Save this file as “locker.bat”.

3. Now double click on locker.bat.


4. It will create a folder named Locker with automatic lock. After creation of the folder, place the contents (your files & folders) you want to lock inside the Folder

6. Double click locker.bat again. It will ask to lock the folder Y/N. If you press y then enter. it will lock the folder and your folder will be hidden.

7.To unlock runlocker.bat again, it will ask to enter password, type in correct password then enter, you can see your folder back.

5. Please don’t change anything except password, otherwise this lock may does not work.

***The default password is “yourpasswordhere”. This is the only thing you’re gonna change in the code.***


Previous Post
How to Backup Firefox Password and Bookmarks
Next Post
New CGI Proxy List – July 21, 2010
Wale Adekile
Husband to the world's most beautiful woman and father to two awesome kids. A nerd, obviously; also, a technical business analyst, a web designer who preaches the gospel of WordPress, and a writer. You can check out my published books on Amazon.
Windows

Fix: Weird Rectangle Symbols on Windows 8 Metro Icons & Login Screen

11 years ago
Windows

Recover Overwritten Files In Windows 7 And Windows Vista

14 years ago

Recent Articles

wahl rapic clip hair clipper
Wahl Rapid Clip Hair Clipper Review: DIY Made Easy
BenQ LaptopBar Review: Luxury or Necessity?
yunmai easepro unboxed
Yunmai EasePro Massage Gun Review
g20
Teendow G20 Robot Vacuum and Mop Review
bathroom
Dear Men, Spraying All Over the Toilet Seat is Disgusting and Irresponsible
winx mediatrans
How to Transfer Photos from iPhone to Computer Without iTunes
google workspace
How to Migrate Emails From Google Workspace/G Suite to cPanel
synology diskstation ds920+
Synology DiskStation DS920+ Review
playstation 4
Why I haven’t Upgraded to the PlayStation 5 Yet
pain
Started Watching Anime as an Adult? You’re Not Alone

All contents on this blog are copyright protected and cannot be reproduced on other websites without permission.

Copyright © 2022 – NerdieDad | Home | Contact | About | Privacy Policy