Lock Folder Without Software(Win XP & Win 7)

Lock Folder Without Software 就是不需要软件来锁文件

虽然有点复杂但却很好用,

虽然我也研究到了破解方法...

现在在Desktop创建一个Folder

Example:

然后开启Notepad 不会的就跟着以下步骤
Start-->All Program -->Accessories -->Notepad

然后把以下代码copy 后paste进去notepad里


Code:
Quote:
Quote: cls
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you want to lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Private "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to unlock folder
set/p "pass=>"
if NOT %pass%== password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End


红色的 password here写下你的密码

然后File --> Save As -->找出那个Folder(之前创建的)-->命名为locker.bat




然后去回之前创建的folder你就会看见一个东西叫locker.bat的


指向它左键点击两次后你就会发现又多出一个叫Private的folder
现在你能把你要lock的文件都放进去吧...
(千万别更改Private Folder的名字)


然后在指向Locker.bat左键点击两次
就会出现一个Cmd视窗(就是那个黑色视窗)


然后打Y --> 再Enter

你就会发现之前那个Private Folder 不见了...

别担心,它只是被锁住了...

只要你再点击Lock.bat就会在弹出CMD视窗(黑色视窗)

输入密码然后Enter ,

Private Folder就又出现啦 =]



别忘了点击广告哦 =]

2 comments: