Really I don't want to ping, that was just an example. I want to create a, HTA with a text field to enter data, then have a action button to run the script using whatever is in the text field as a variable. The ping was just an example. I want to create an HTA page where you enter the computer name click on the action button and it will gather computer info. the VBScript is already writen, I just can't get the variable = text field and the action button to run the script.