function InputBox(text, value)
{
    var oIE = WScript.CreateObject("InternetExplorer.Application");
    oIE.navigate("about:blank");  
    oIE.Visible = 0;              

    while (oIE.Busy) {}           
 
    var obj = oIE.Document.Script;       
    var input = obj.prompt(text, value); 
    oIE.Quit();                   
    return input;
}

var Name = InputBox("Please enter your name:", "");
WScript.Echo("Hello, "+Name+".  Pleased to meet you.");
