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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using input results w/sendkeys

Status
Not open for further replies.

dahartje

Technical User
Mar 4, 2003
1
JP
Could someone show me how to use the input statement in vbscript to ask a user for password1, password2, and an IP address.

Then I need to use those results within another script something like:

wshshell.sendkeys Password1{ENTER}
wshshell.sendkeys Password2{ENTER}
wshshell.sendkeys IP{ENTER}

I cannot have the results hardcoded anywhere, so they need to disappear at the end of each session. They could go into a temp file but, would have to be deleted at the end of the session. The user would have to do this everytime they launch the main program.

Thanks for any assistance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top