Code:
echo off
title Ambiguous's Speaking Computer
color A
:again
cls
echo Please enter what you want the computer to say.
echo.
set /p input= %variable% I want the computer to say :
echo.
echo Set Speech = CreateObject("SAPI.SpVoice") > "%userprofile%\speech.vbs"
echo Speech.Speak "%input%" >> "%userprofile%\speech.vbs"
call "%userprofile%\speech.vbs"
echo.
echo The computer has said "%input%".
echo.
pause
goto again