|
|
| ||
Discussion by Zagete with 51 Replies.
Last Update: December 21, 2011, 9:48 pm ( View 2
) (View Latest)
| Page 1 of 6 pages. | ||
|
|
|
1- make a new folder ( name it as you like )
2- inside this folder make a (.TXT ) file & copy the following inside it:
CODE
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 command go to line ( 23 ) u will find "password here" Change to any password u want.
4- After that, save it as locker.bat (the txt file will change to an application file)
5- Now go back to the folder & u will find a this locker.bat file.
6- Click on it & u will find a new folder called Private.
7- Now copy what u want in it & after that go to locker.bat by clicking it, it will open and ask you if you want to lock your folder? Y/N ?
8- Type Y
9- If you want to UNLOCK your folder, go open locker.bat & type your password and the Private folder will be made visible again.
Tested and working :]
Hide stuff from strangers, lol...
Sat Feb 9 16:25:24 PST 2008 -
Reply -
chmod 0600 filename
Job done
Still, that script is pretty cool to use on a Windows machine.
Sun Feb 10 3:20:24 PST 2008 -
Reply -
Sun Feb 10 7:12:07 PST 2008 -
Reply -
Sun Feb 10 7:36:36 PST 2008 -
Reply -
I like that bat file.
With this locker, i can hidden some file clearly.,
Sun Feb 10 7:55:37 PST 2008 -
Reply -
rvalkass is right though, linux for the win!
Sun Feb 10 8:54:25 PST 2008 -
Reply -
Sun Feb 17 7:37:18 PST 2008 -
Reply -
1)Cmd to the location of Folder
2)cd <name of folder>
there u go
ur in the Folder
Tue Apr 15 4:45:25 PDT 2008 -
Reply -
john_engit, Apr 15 2008, 12:45 PM
1)Cmd to the location of Folder
2)cd <name of folder>
there u go
ur in the Folder
There is no need for that, crashcore pointed out the flaw with this; the password is stored in the bat in plain text!
Is there a way to add md5'ing into this script, such as use a tool to get the md5 of your password and put that in the bat file instead, use it to compare the md5 of any code entered with the "correct" one?
Tue Apr 15 5:44:42 PDT 2008 -
Reply -
If you enabled: show hidden files and folders and extensions, you can just change the folder name, and then you can access the folder.
it will show up as :
Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}
the ".{21EC2020-3AEA-1069-A2DD-08002B30309D}" after the control panel is a reference to a registry key.
Tue Apr 15 22:13:23 PDT 2008 -
Reply -
loved
But it would have been great if the password you type to unlock the folder show up as '***' characters instead of the actual letters.
And also the problem of the password being found out if you rename the file as a .txt file again
and btw, in ur first line what is the 'Quote: cls' for anyway?? Isn't it unnecessary for the script to run? ...more
Sun May 11 15:28:38 PDT 2008 -
Reply -
Similar Topic: How To Lock A Folder And Keep It Pr...
you dont need software to lock a folder or add a password to a folder right okay this is my little tutorial on how to lock a folder, here we go first things first you need a random folder or the ...more
Sun May 28 11:42:01 PDT 2006 -
Reply -
View Latest posts
Devcamp Bangalore 1 (0)
|
(0) Mouse Off-road 2.17
|
HOME
2




. Your estimated Latitude is: 34.1321 Longitude is: -117.851.