Sometimes we might have some secret folder that you want it prohibited access by others. There are so many software available which include shareware or freeware. However, shareware can cost you a lot for just simply purchase a small program, freeware you may encounter problem like hard to use and etc.
Therefore, I would like to share out my secret of how to lock and unlock folder using command prompt/batch file.
To lock the folder
move the lock.bat file to the folder you wan lock, let assume one case.
you got two folder name MyFolder1 and MyFolder2 in the F:\testing ,you would like to lock the folder MyFolder1, then you just copy the lock.bat to the F:\testing, after that just click the lock.bat to run, you will see the folder change to the icon as shown in the picture above. :)
To unlock the folder
move the unlock.bat file to the folder you wan lock, let assume one case.
you got two folder name MyFolder1 and MyFolder2 in the F:\testing ,you would like to unlock the folder MyFolder1, then you just copy the unlock.bat to the F:\testing, after that just click the unlock.bat to run, you will see the folder change back to the normal folder icon :)
Download the files for your experiment
It's simple and worth to try it
Popular Posts
-
如果你有兴趣成为softwareandi的发布会员,请联系softwareandi@live.com。 但请注意,申请者必须拥有以下的条件: 1) 拥有一架私人电脑,并却安装了虚拟机软件(如:VMware, VirtualBox, MS VirtualPC)作为工作平台。 2) ...

0 comments:
Post a Comment
We love feedback!!