Jun 25, 2009

how to lock the file without software

Everybody want some private files needs to be saved from others.
To keep that privacy we do lot of things.
here is one of them.
just copy this code:
%%%%%%
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
%%%%%%

here are the steps:

1). First open the notepad and copy this code.
2). Save this file as locker.bat and save it in your hard disk.
3). when you double click that .bat file it will create one folder
with the name of "locker". paste your confidential files in that folder.
4). To hide this folder just double click that locker.bst file again.
5). In that cmd prompt just press y and press "enter". the folder will be hidden.
6). TO open the folder again double click the .bat file.
7). by modifying that .bat file you can set the password also.


please leave your comment after you checked out

hidden files...? don't worry

hi to all,
sorry friends...
i took too much of time to update this blog
This is interesting and important also..
many of us may have stored data's in our pen drive or
in our system. but due to virus attack the important data
files may be changed to hidden files...
that time what to do..
dont worry here is the simple solution with this software...

the simple software (Hide File Scanner) which has the name
will do the remaining things...
please go to this link if you need...

http://www.delphifreeware.com/downloads/hfs.exe


i am awaiting for your feed back...