Quick Search
| Video Training Online Video Training, video training software, video editing training, total training video, microsoft training video, corporate training videos, ... |
| toolbar powered by free-ebook-download.net |
![]() |
|
|||||||||||||||||||||||
|
8-) Hi all i came across this cool batch script recently it lets you lock and unlock external hd's and folders for keeping files hidden without using software once the folder is locked you can unlock it by clicking on the bat and typing in the password
1- make a new folder ( name it as you like ) 2- inside this folder make a (.TXT ) file & copy the following inside it: Code:
@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
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. Thread updated 7/9/09 Download this bat to exe converter as it lets you make exes as administrator Code:
http://download.cnet.com/Bat-To-Exe-Converter/3000-2069_4-10555897.html?tag=mncol Let Me Know What You Think 8-) |
|||||||||||||||||||||||
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How To Lock a Folder and Hd With No App - MUST SEE | shooter | Video Training | 0 | 09-13-2009 07:33 AM |
| Lock your folder without any software | topso | Video Training | 0 | 09-12-2009 06:43 PM |
| Best Way To Lock Your Folder Without Any Application | topso | Video Training | 0 | 08-06-2009 06:21 AM |
| [Rapidshare.com] CIA Lock Picking Manual | asdfmonster | Other Book | 0 | 07-31-2009 02:08 AM |
| Best Way To Lock Your Folder Without Any Application | FED | Video Training | 1 | 08-25-2008 05:00 AM |