| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
vbs password protect script help
|
Original Message
|
Name: vbs5batch5man101
Date: October 24, 2005 at 17:55:00 Pacific
Subject: vbs password protect script helpOS: windows xpCPU/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
Report Offensive Message For Removal
|

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