Sunday 5 August 2012

Assigning passwords to folders in win 98 and 2000


Right-click on empty space in the folder which you want to protect and
select CUSTOMIZE THIS FOLDER, then choose CREATE HTML DOCUMENT FOR THIS
FOLDER. Once the document is opened in Notepad, scroll down until you see
<script language>="JavaScript"> Insert a blank line after this string.
Then insert the following text.
var pass = prompt("Enter the password")
if(pass != "YOURPASSWORD")
{window.location="C:"}
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 password you'll
end up in C: drive!
This works on Windows 98 and 2000.

No comments :

Post a Comment

Total Pageviews

Extension Factory Builder