Friday, November 19, 2010

VBScript Code - Getting input text from user

Write the below code in a Notepad and save it as a .vbs file. Either run it from command prompt or run it by double-clicking on it.

VBScript Code - Getting text from user

x=inputbox("What is Your Name?")
Msgbox "Hello " & x