怎么用记事本锁住你的文件夹 (3-9-10)

来源:百度文库 编辑:神马文学网 时间:2024/04/27 22:43:18
How to Lock a Folder Using Notepad--(下面有中文版滴)
Published February 5th, 2007
There are plenty of software which lock your folders, some are free,other costs a lot of money. Why you’ll waste time and money when youcould do it with your notepad.
* Consider you want to lock a folder named PICS in your D:\, whose path is D:\PICS
* Now open the Notepad and type the following
ren pics pics.{21EC2020-3AEA-1069-A2DD-08002B30309D}
* Where pics is your folder name. Save the text file as loc.bat in the same drive.
* Open another new notepad text file and type the following
ren pics.{21EC2020-3AEA-1069-A2DD-08002B30309D} pics
* Save the text file as key.bat in the same drive.

Usage:
* To lock the pics folder, simply click the loc.bat and it will transform into control panel icon which is inaccessible.
* To unlock the folder click the key.bat file. Thus the folder will be unlocked and the contents are accessible.
That’s all.
===============================================================================================
怎样用记事本锁住你的文件夹(译:MTJS
有许多可以锁住你文件夹的软件,一些是免费的,另一些要花一堆的钱。当你可以用你的记事本作这些的时候,为什么你还要浪费你的时间和金钱呢?
* 认定一个你想锁定的的文件夹将其命名为例如:"PICS"进入你的D盘D:\(只要不是c盘就好,其实c盘也没什么,只不过大部分人的系统都装在这个盘,我们还是少在那里动手动脚的吧…^^),例如:D:\PICS
*  现在打开记事本输入类似下面的内容:
ren pics pics.{21EC2020-3AEA-1069-A2DD-08002B30309D}
* 这里的pics是你的文件夹的名字。另存文本文件为loc.bat 在同一目录内(重要哦!)。
* 打开另一个新的记事本文件输入类似下面的内容:
ren pics.{21EC2020-3AEA-1069-A2DD-08002B30309D} pics
* 另存文本文件为key.bat 在同一目录内。
用法:
* 锁住文件夹:只要点击loc.bat,它就会转换到控制面板的图标而无法使用。
* 解锁文件夹:点击key.bat文件,文件夹就会解锁并可以操作啦~。