Computing.Net > Forums > Programming > vbs password protect script help

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

vbs password protect script help

Reply to Message Icon

Name: vbs5batch5man101
Date: October 24, 2005 at 17:55:00 Pacific
OS: windows xp
CPU/Ram: xp
Comment:

Hello Im running Windows xp and i am wondering if anyone can help me with my vbs password protect script.all though i am only 12!Ok well my vbs is based on input box and since i am not alowed to put a password on my account because of my parents i am simply not putting a password to my account and just using the vbs to make the vbs run at start up.here is the vbs script. right now im making notepad pop up if password is wrong but i can run a batch or just make the shutdown thing pop up and use sendkeys if i want to make it log off or shut down!.so here is the script:

Set wshShell = wscript.CreateObject("WScript.Shell")
Dim fso
Set sh = CreateObject("WScript.Shell")
fso = InputBox("What is your password?")
if fso = "password" then
wscript.Quit
end if
if fso = "help" then
wshshell.run "notepad.exe"
end if

help is where i need help.i need it to be the value of anything else so only my password works.If you have any other suggestions go ahead


i have AIM (aol instant messenger) and my account is

abcdwxyz90210



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: vbs password protect script help

vbs password protect script help www.computing.net/answers/programming/vbs-password-protect-script-help/13524.html

ASM password protect script www.computing.net/answers/programming/asm-password-protect-script/11101.html

a batch code for exclude password protected www.computing.net/answers/programming/a-batch-code-for-exclude-password-protected-/19156.html