Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Locking A Folder With No Software At All!


4 replies to this topic

#1 FreedomOverdose

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 103 posts
  • Location:Albania
  • Interests:Programming, design, animation, 3d-modeling, rubik cubes, electronic gadgets etc

Posted 06 September 2008 - 10:18 AM

I know that there may be some tutorials like this in the web, but I made this one a very long time ago :).
Simple Copy-Paste-Rename-Store-and LOCK. can work anywhere on any computer.


NO Software Required. Simple Lock your Folder, with these Few Steps. Ive tried it, and works great. Ive only tried it on Windows Xp, SP2.
IM not sure, if it works on other OS as well. but its harmless, so try it out.

Steps:

1- make a new folder ( name it as you like )

2- inside this folder make a ( TXT ) file & copy inside it this (the entire thing)

Quote:
Quote: cls
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you 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 Private "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%== password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End

3- After u copy the Commanding go to line 23 (or try using shortcut- CTRL+F and type password to locate the line) u will find this word : password here (Change it with any password u like.) is :

eg: if NOT %pass%== narnia1234 goto FAIL
//so ur password here becomes narnia1234 .//

4- After that go to ‘save as’ & name this file as "locker.bat "

5- Now back to the folder & u will find a ( LOCKER ) commanding.
(locker.exe)

6- Double Click on it & u will find a new folder (Private )

7- Ok ,, now copy what u want in this "private Folder" & after that come out of the folder, and Double click on locker again. It will open and ask if you want to lock your folder? Y/N ?

8- Type Y. your private folder will dissapear.

9- If you want to UNLOCK your folder ,go to (locker) & type your pass and you will see your private folder.

it not only hides the fodler, but incase, u unhide all files... and try opening it without entering password, it'l take u to the control panel...

Also, if u want to store files on your Pen-Drive, u can use this script. No Software Required

Incase u delete your Locker file (just in case), then u can make a new one (but with the same password) and open it from that.

Alternatively, u can keep this locker file somewhere else, and when u want to open ur folder, only then bring it back to that place...

#2 -Sky-

    For those who are interested in Spiritual discussion: www.thespiritualportal.com

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,039 posts
  • Gender:Male
  • Location:Italy
  • myCENT:91.23

Posted 06 September 2008 - 07:17 PM

Very very nice tutorial FreedomOverdose! I love it. And this will now make my Important files Private too :)
Thanks

#3 shadowx

    Live your life so that in death you may stand side by side with your gods. Not at their feet.

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1,674 posts
  • Gender:Male
  • Location:Essex, UK
  • Interests:Photography is a big interest, i have some photos up at my site, apex photographs (http://apex-photographs.com). Using my Lumix g1 to take the photos of course! <br /><br />Um computer games... photo editing and thats about it!
  • myCENT:68.57
  • Spam Patrol

Posted 06 September 2008 - 07:21 PM

Thats very good! If you have VB knowledge you could integrate with a simple program to act as a key and store it on another flash drive or your phone or something so your files are safe. (Vb would give a nice UI)

Ill be saving this little tut!

#4 Deretto

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 132 posts
  • Gender:Male
  • Location:West New York
  • myCENT:10.45

Posted 07 September 2008 - 10:02 PM

This would've been nice to know. Actually I think I'll save this and tell all my friends about it. Thanks a lot!

#5 -Sky-

    For those who are interested in Spiritual discussion: www.thespiritualportal.com

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,039 posts
  • Gender:Male
  • Location:Italy
  • myCENT:91.23

Posted 08 September 2008 - 03:58 AM

@ Deretto: Would've? Don't you mean "This IS nice to know about" ? :D I've never found such code this this on Search Engines, and now It's here. :) I'm very impressed with you FreedomOverdose! :)

-Sky




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users