Every one wants security in his/her life. We use different means to secure our self. Same as in case of computer we need security for our files that we don’t want any one to use . So how to lock a folder in our computer without any 3rd party program?
• Create an elevated command prompt, if not done yet
• Create two batch files:
Code:
REM This batch-file prevents to use data in <foldername> folder
@ECHO OFF
REN <foldername> <foldername>.{20d04fe0-3aea-1069-a2d8-08002b30309d}
After executing the above command the <foldername> folder will look like "My Computer" icon and will act like "My Computer" of Microsoft Windows operating system, means if you now click on <foldername> then "My Computer" will open instead of your <foldername> folder.
Code:
REM This batch-file allows to use data in <foldername> folder previously prevented
@ECHO OFF
REN <foldername>.{20d04fe0-3aea-1069-a2d8-08002b30309d} <foldername>
This reconverts <foldername> folder to its original state.
Read more at
Bookmarks