GupShup, Pakistan Discussion Forum, Urdu Poetry, Send Free SMS to Pakistan, Free Urdu Courses, IT News, Pakistan Politics
HomeSend Free SMSCalendarFAQSearchRegisterMemberlistLog inContact Us

Share | 

 Lock and hide files without using software applications

View previous topic View next topic Go down 

Warning :
Number of posts : 1094
Age : 25
Location : Lahore, Pakistan
Reputation : 13
Points : 563
Registration date : 2007-09-21

PostSubject: Lock and hide files without using software applications   Sat 27 Jun 2009, 8:38 pm

wait its loading....
Note- Its different from Invisble as well hidden you need to have a password with which you can open your folder.

Here is the Code:

title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
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.
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
echo stuff by satish
echo Enter password to Unlock folder
set/p "pass=>"
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
echo Invalid password
goto end
md Locker
echo Locker created successfully
goto End


1) Copy the code above in a note pad and give it a name - name.bat (that is with the extension of .bat).
Replace name with anything you want.
Save the "*.bat" file where you want your locked (and not visible) folder on your pc.

Note-- In the code where it says "TYPE UR PASSWORD HERE" - type your desired password (no quotes ").
Your password can only contain letters and numerals - e.g. 0-9 and A-Z. Can use Caps but No symbols

2) A batch file will be created where you have saved.
Now double click on it, A folder with the name locker will be created in the same folder
where the batch file is saved.

3) Now add the files you want to be locked in that folder.

4) Double click on the batch file.
It will ask about locking the folder.
Type y(yes).
The folder will be locked and hidden.

5) To unlock, double-click on batch file again and enter the password in the new window opened.

6) The password can be changed by any body if they find this ".bat" file!
So, make sure that you the name is not so obvious and put this in some place not so obvious.
Not very many people will be looking for a .bat file.

Send Free SMS to Pakistan
Back to top Go down
View user profile
Lock and hide files without using software applications
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum :: 
Tech Zone
 :: Tips/Tricks
Jump to:  

View My Stats
Powered by phpBB Version 2.0

Copyright 2011 - 2013 All Rights Reserved

Copying of any contents of is strictly prohibited
Please send an email to administrator "" from your official email address if you believe that any content should not be on this site, Thanks.
| Contact Us | Advertise With Us | Privacy Policy | Terms & Conditions | Disclaimer | Send Free SMS to Pakistan - Send Fast SMS to Pakistan | new year sms |

| Canon Lenses Pakistan |