Copy paste the below code in a nodepad file

Dim Msg, Speak
Msg=InputBox(“Type view words here”,”Speak”)
Set Speak=CreateObject(“sapi.spvoice”)
Speak.Speak Msg

Save this file with extension .vbs e.g. example.vbs

Double click on the file and you can see screen this

Type something in the text box and click ok