Posted on Thursday, October 8, 2009
Filed under
Security,
Tutorials
hide your secret files
may have a lot of people know, so .. I was designated for those of you who do not know.
Immediately, the first open notepad, then copy the script below.
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u 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 Locker "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%==type your password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
Save with the name of what was important to the extension. Bat, for example with the name "key.bat" remember, "type your password here" transformed with the desired password For execution, run the file "key.bat", then a folder will appear, enter the files you want to be locked. after was rerun "key.bat" file, and then came the bat file with the question "Are you sure u want to Lock the folder (Y / N)",
type y [enter], then the files you have locked and hidden Click again to restore the file. Bat command containing the above questions can be changed according to our will, for example command Are you sure u want to Lock the folder (Y / N), the script will we replace the "bla bla bla .. (Y / N)
The problem of this file can be viewed and deleted :)
These icons link to social bookmarking sites where readers can share and discover new web pages.
Leave a Reply