Right-click on empty space in the folder which you want to
select CUSTOMIZE THIS FOLDER, then choose CREATE HTML
DOCUMENT FOR THIS
FOLDER. Once the document is opened in Notepad, scroll down
until you see
blank line after this string.
Then insert the following text.
var pass = prompt("Enter the password")
if(pass != "YOURPASSWORD")
Hit the Enter key on your keyboard
Put a password in the place of YOURPASSWORD but leave the
quotes. Save the
document, exit Notepad,
refresh the folder (or hit F5), enter your new password, and
the next time
you try to enter that folder,
you'll be prompted for your password. If you enter a wrong
end up in C: drive!
This works on Windows 98 and 2000