this instructable is on how to hide files behind a password with a batch file..,
thecatch is that the password is loaded into the batch files through a free-standing text file.
and please rate this instructable.
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Making the File
first open notepad
either open the run box and type "notepad.exe"
or click start then goto all programms
then to accessories and finally click on notepad.
then type in:
set /p password= <password.txt
title Folder Locker
echo please type the password please...
echo =) you have as many tries as you want =)
set /p passcode=">"
if %passcode%==%password% (
echo that is the right password!!
start "your destination here"
echo =( in sorry that is the wrong password =(
after you copy that save the file as "anything".bat
Step 2: Making a Password
open notepad again, type in anything you want for a password.
===then save the file as PASSWORD.TXT===
::::::yes you must do this or the batch file will not work::::::
also make sure that the two files ae in the same directory (folder)
but if you want to move this file you must change part of the batch file...
now right click on the password file and pick properties, then click on the box "HIDDEN" and apply to the file you should now notice that the file is now un-seeable and cannot be spied on.
Step 3: Finish
now that the two files are there all that you have to do
is run them and hope you did everything right =>
here are the files in case you cannot find notepad: