Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

simple script that asks for a password with inputbox/msgbox/net use

Status
Not open for further replies.

fireeee

Technical User
Mar 3, 2016
1
DE
I am looking for a simple vbs that asks for a password with inputbox after you run it. (the password check can happen with plain text in the script - i know it is not secure but it is good enough). if the password is correct it should execute a net use command Y: // ..... after that it should give out a msgbox.
If the password does not match it should return a msgbox. (and optionally send an email to X with subject Y) and then close itself.

would be a huuuge help if someone could write these lines I tried several things and couldnt come up with a conclusion.

 
Hi,

This is the VBA forum.

You might want Forum329

Skip,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top