|
|
|
|
![]() ![]() |
May 11 2008, 10:28 PM
Post
#11
|
|
|
Newbie [Level 3] ![]() ![]() ![]() Group: Members Posts: 47 Joined: 10-May 08 From: Chennai, India Member No.: 61,961 |
wow thats an awesome script man!!! Thanks a lot!
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? |
|
|
|
May 12 2008, 08:22 AM
Post
#12
|
|
|
Trap Double Mocha Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 2,360 Joined: 21-September 07 Member No.: 50,369 |
i have one solution
Best Way To Lock A Folder Without Using An Application Replying to Zageteconvert batch file into exe file by converter -feedback by kashish |
|
|
|
May 16 2008, 12:05 AM
Post
#13
|
|
|
Member [Level 1] ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 50 Joined: 11-May 08 From: USA Member No.: 62,005 |
Oh, that'll be nifty. My teacher was trying to find a way to keep students from messing with each other's term papers that were downloaded on her computer. They use her computer more than she does. :/
|
|
|
|
Jun 16 2008, 12:56 PM
Post
#14
|
|
|
Newbie [Level 2] ![]() ![]() Group: Members Posts: 27 Joined: 14-June 08 From: Cahsmere Member No.: 63,636 |
Steps: 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... Man it works , i had tried it once,,but that gotlockedbecozi didnt know about the password thing |
|
|
|
![]() ![]() |
Similar Topics
| Topics | Topics | |
|---|---|---|
|
|
|
|
Lo-Fi Version | Time is now: 27th July 2008 - 02:07 AM |