Top Nav

How to lock folders without using third-party software

Jul 25, 2007 4 comments
In this example, i'm taking a readymade folder called mIRC to protect from viewing or manipulating. There is a mIRC folder in my C: drive. I want to lock C:\mIRC folder without using any third-party software like folderguard.

To make this happen, i'll create a batch file. Steps aheads are clear enough.

1. Open Notepad.
2. Paste the following phrase exactly to Notepad.
ren mIRC mIRC.{21EC2020-3AEA-1069-A2DD-08002B30309D}
3. Save it as lockmIRC.bat in c:\
(Note: Notepad saves file in txt format. While saving the file other than it's native format, use always an inverted comma around filename like "lock.bat" and click save)

Now, go to C: drive and double-click lockmIRC.bat. The folder in C:\mIRC will be protected and when clicked, it will launch control panel. Pretty cool.

To unprotect the folder.
1. Open Notepad
2. Paste the following phrase exactly to Notepad.
ren mIRC.{21EC2020-3AEA-1069-A2DD-08002B30309D} mIRC
3. Save it as unlockmIRC.bat in c:\

Now, go to c: drive and double-click unlockmIRC.bat. The folder in C:\mIRC will be unprotected.

Comments

Anonymous said…
I can prevent my dad from finding my video files by using this method
Navin said…
ehehehehe... testo po..
Anonymous said…
very useful to hide those personal files....hmmmm.....wonder what those files could be.....
Navin said…
yeah, this is a simple trick and could save your precious files from prying eyes

Anon, Keep visiting or dig more into my 'Tips and Tutorials' section for more

Related Posts

{{posts[0].title}}

{{posts[0].date}} {{posts[0].commentsNum}} {{messages_comments}}

{{posts[1].title}}

{{posts[1].date}} {{posts[1].commentsNum}} {{messages_comments}}

{{posts[2].title}}

{{posts[2].date}} {{posts[2].commentsNum}} {{messages_comments}}

{{posts[3].title}}

{{posts[3].date}} {{posts[3].commentsNum}} {{messages_comments}}

Contact Form