MISSION AND VISION 2012


On this Blog you can gain and collect some ideas, information about different kinds of topics about computer, tutorial and tips that can be applied. You can share your ideas too thru posting comment and feedback to said topic.

Thank You :)

Note : If the Link(s) doesn't work/broken please Comment.

(If this site helps you, please Comment and click the link to say Thanks)
Please Click here to Say Thank You :)



Saturday, February 20, 2010

Hide folder without installing software - 101% Tested

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 You Want to Lock This 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


instruction

* Copy the following codes and paste it into notepad.
* Save that file with an extension ".bat". ie: locker.bat
* Double click it to create a folder locker.
* A new folder named Locker would be formed at the same location.
* Brings all the files you want to hide in the locker folder.
* Double click the batch file to lock the folder namely Locker.
* If you want to unlock your files, double click the batch file again and you would be prompted for password. Enter the right password and enjoy access to the folder.

Actually, commercial software "Folder Lock" uses the same method to lock/unlock folders. wink.gif

You may also consider compiling this batch file to obtain an executable (.exe) file.

No comments:

Post a Comment