Author Topic: How to lock a folder without any software  (Read 1196 times)

0 Members and 1 Guest are viewing this topic.

Offline oracle

  • Moderator
  • Newbie
  • *****
  • Posts: 44
  • Country: ng
  • Karma: +0/-0
  • Gender: Male
  • All you need to know about Computers
    • Computer><exposed
How to lock a folder without any software
« on: November 25, 2010, 01:57:10 PM »


Folder Lock With Password Without Any Software-
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




All Student Forum

How to lock a folder without any software
« on: November 25, 2010, 01:57:10 PM »

Offline mfoniso

  • Administrator
  • Hero Member
  • *****
  • Posts: 2273
  • Country: ng
  • Karma: +0/-0
  • Gender: Male
    • Play Lsit Hub
Re: How to lock a folder without any software
« Reply #1 on: November 27, 2010, 11:20:20 PM »
@ oracle thanks for this tip, a lot person have been asking me how they could do this.
with this am ok to help them out thanks.
Please do not PM me questions, ask all your questions in the forum, for others to learn from.

Offline Sub5

  • Hero Member
  • *****
  • Posts: 1241
  • Country: ng
  • Karma: +1/-0
  • Gender: Male
  • Believe it or not God is a programmer
Re: How to lock a folder without any software
« Reply #2 on: December 05, 2010, 02:57:00 PM »
This is cool, but if you like a software that actually encrypt your file let me know

All Student Forum

Re: How to lock a folder without any software
« Reply #2 on: December 05, 2010, 02:57:00 PM »

Offline karablack037

  • Newbie
  • *
  • Posts: 12
  • Country: us
  • Karma: +0/-0
    • buy term papers online
Re: How to lock a folder without any software
« Reply #3 on: September 24, 2011, 06:11:11 AM »
Wow, what a nice post. I have searched in Google lot of time to know about how to lock a folder without any software. I have got many resources. But that are tough and not practicable.  I am sure  this will be a easy tips for locking software. :)
newbielink:http://www.writing-services-online.com/ [nonactive]

Offline oracle

  • Moderator
  • Newbie
  • *****
  • Posts: 44
  • Country: ng
  • Karma: +0/-0
  • Gender: Male
  • All you need to know about Computers
    • Computer><exposed
Re: How to lock a folder without any software
« Reply #4 on: October 19, 2011, 09:44:28 AM »
There are other batch programming that are very easy to use and understand if anyone here needs a simple script that can do something simple...
Just ask!

All Student Forum

Re: How to lock a folder without any software
« Reply #4 on: October 19, 2011, 09:44:28 AM »

Offline Sub5

  • Hero Member
  • *****
  • Posts: 1241
  • Country: ng
  • Karma: +1/-0
  • Gender: Male
  • Believe it or not God is a programmer
Re: How to lock a folder without any software
« Reply #5 on: October 20, 2011, 11:19:40 PM »
@oracle, can you list some of this your batch program,and the kind of action that it can do?

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
10 minus 10 = ?:
What letter is missing in this word 'Gogle':

Related Topics

  Subject / Started by Replies Last post
0 Replies
1156 Views
Last post August 26, 2013, 03:44:56 PM
by Sub5
0 Replies
847 Views
Last post December 28, 2013, 11:03:57 PM
by debby
0 Replies
881 Views
Last post June 09, 2014, 09:36:51 PM
by Sub5
0 Replies
568 Views
Last post April 01, 2016, 10:03:48 PM
by mfoniso
0 Replies
384 Views
Last post October 17, 2016, 10:48:19 AM
by oracle