0% found this document useful (0 votes)
30 views

Password Notepad Vbs Script

This short Visual Basic script prompts the user to enter a password and checks if it matches the string "fish", displaying a message box with either "Correct Password!" or "Incorrect Password!" depending on the result. It saves the code as Password.vbs to allow it to be run as a script.

Uploaded by

Himura Kenshin
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views

Password Notepad Vbs Script

This short Visual Basic script prompts the user to enter a password and checks if it matches the string "fish", displaying a message box with either "Correct Password!" or "Incorrect Password!" depending on the result. It saves the code as Password.vbs to allow it to be run as a script.

Uploaded by

Himura Kenshin
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Copy and paste the following into Notepad...

pass=inputbox("Password?")
if pass="fish" then msgbox("Correct Password!") else
msgbox("Incorrect Password!")

The password for this is fish
Save it as Password.vbs And enjoy!

You might also like