Today tips is telling you how to hide and lock your private folder, in this case your private folder named ‘private’ . I tell you that this trick is very easy to do, just copy the code below and paste it in notepad:
@ECHO OFF
lock your folder
cls
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDPRIVATE
:CONFIRM
echo Are U sure 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 The Folder has been locked
goto End
:UNLOCK
echo waitz.... enter the pass first!!!
set/p "pass=>"
if NOT %pass%== private 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
:MDPRIVATE
md Private
echo The Folder successfully made
goto End
:End
After you paste the code above in notepad worksheet, save it with file name:LOCK.bat
I tell you not to forget to give the extension .bat.
And then run the batch file named LOCK which you have made earlier, and you’ll see there’s a new folder named private.
Save all your private data, document, music, video, etc in that folder. Then to lock the folder, you have to run the batch file again. If you sure want to lock that folder type Y on the command prompt line.
And then you’ll see that the folder had been disappeared. If some time you want to access that folder again, just double click the batch file named LOCK and enter the password, which is originally private.
You can change your password by making a little change on the command line situated in row 21:
if NOT %pass%== private goto FAIL
Change the word private with your new password characters.
And finally save the change.
Translated and adapted from Jatibarang blogspot.
3 comments:
This did not work. Where is the folder private created?
cacat gak jelas, ngbuat kompi error aja
wkwkwkkwkwkwkwkwkwk
Post a Comment