IT Planet | The Planet of IT & Love
Asalam-o-Alaikum Dear Guest, Welcome to IT Planet

Please Login to this website. After you Login, You can post topics of your choice in this website and replies to any existing topic you like in this website. So do a Login by clicking the "Log in" button below and start posting.....

If you are not registered, then click "Register" button below to register yourself and then Login.....

Folder Lock Without Any Software

Go down

Folder Lock Without Any Software

Post by Ahsan Sindhi on Tue Nov 24, 2009 9:37 am

''hello friends''

Paste the code given below in notepad and 'Save' it as batch file (with extension '.bat').
Any name will do.
Then you see a batch file. Double click on this batch file to create a folder locker.
New folder named 'Locker' would be formed at the same location.
Now bring all the files you want to hide in the 'Locker' folder. Double click on 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 password and enjoy access to the folder.

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
avatar
Ahsan Sindhi
Management
Management

Posts : 485
Join date : 2009-09-29
Age : 33
Location : Hyderabad, Sindh

http://www.itfunpk.tk

Back to top Go down

Re: Folder Lock Without Any Software

Post by Admin on Tue Nov 24, 2009 9:43 am

very nice sharing

_________________
[You must be registered and logged in to see this image.]

[You must be registered and logged in to see this image.]


[You must be registered and logged in to see this image.]
avatar
Admin
Administrator
Administrator

Posts : 231
Join date : 2009-09-16
Age : 41

http://itplanet.forumstech.com

Back to top Go down

Re: Folder Lock Without Any Software

Post by Raja Abro on Tue Nov 24, 2009 1:23 pm

very nice sharing

_________________
Co-Admin<br>IT PLANET Team
avatar
Raja Abro
Co-Administrator
Co-Administrator

Posts : 550
Join date : 2009-09-17
Age : 28
Location : hyderabad

http://www.iturdupk.tk

Back to top Go down

Re: Folder Lock Without Any Software

Post by Naveed Bhatti on Mon Dec 07, 2009 3:26 pm

nice
avatar
Naveed Bhatti
New Member
New Member

Posts : 11
Join date : 2009-09-26
Age : 27
Location : Nawab Shah

http://www.humaridunyaa.blogspot.com

Back to top Go down

Re: Folder Lock Without Any Software

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum