用户
 找回密码
 立即注册
搜索

[转帖] 怎么用记事本锁住你的文件夹(转载)

[复制链接]

20

主题

193

帖子

65

积分

注册会员

Rank: 2

积分
65
发表于 2007-2-19 00:22:00
怎么用记事本锁住你的文件夹(转载)
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 you could 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
有许多可以锁住你文件夹的软件,一些是免费的,另一些要花一堆的钱。当你可以用你的记事本作这些的时候,为什么你还要浪费你的时间和金钱呢?
       * 认定一个你想锁定的的文件夹将其命名为例如:&quotICS"进入你的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文件,文件夹就会解锁并可以操作啦~。

转自:http://www.360doc.com/showWeb/0/0/366445.aspx
使用道具 举报 回复
发表于 2007-2-19 00:34:00
Try it, if really ,that's good.
使用道具 举报 回复 支持 反对
发表于 2007-2-19 01:43:00
用TC、WinRar可直接改名。
使用道具 举报 回复 支持 反对
发表于 2007-2-19 01:45:00
真的可以吗
使用道具 举报 回复 支持 反对
发表于 2007-2-19 02:22:00
ren在dos下只是更名,所以在windows下,只要把.{21EC2020-3AEA-1069-A2DD-08002B30309D}加在目录名下就可以了,呵,要用时再把.{21EC2020-3AEA-1069-A2DD-08002B30309D}去除就可以了
使用道具 举报 回复 支持 反对
发表于 2007-2-19 02:31:00
在vista下没有用.
使用道具 举报 回复 支持 反对
发表于 2007-2-19 04:38:00
英文的水平 我的还可以啊 呵呵
使用道具 举报 回复 支持 反对
发表于 2007-2-19 05:01:00
感谢了
使用道具 举报 回复 支持 反对
发表于 2007-2-19 07:18:00
有空试一下,谢搂主了
使用道具 举报 回复 支持 反对
发表于 2007-2-19 07:52:00
哈哈  真的可以啊
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则