The code is as follows. Please ask an expert to help analyze it... eagerly waiting
[ Last edited by Vampire on 2007-4-25 at 11:03 PM ]
Posted by Vampire: 2007-04-25 22:41
- @echo off
- setlocal enabledelayedexpansion
- color 0e
- mode con lines=20 cols=60
- set count=-1
- set a=Today is another healthy, happy, positive, and progressive day. Lift your head, oh hey, walk forward, oh hey... ——Breathe the New World
- :loop
- set /a count+=1
- call set temp=%%a:~!count!,1%%
- if "%temp%"=="" (
- goto out
- ) else (
- call set /p=%%a:~!count!,1%%<nul
- call :sound "%temp%"
- )
- :sound
- mshta vbscript:createobject("sapi.spvoice").speak(%1)(window.close)
- goto loop
- :out
- echo.
- pause>nul
[ Last edited by Vampire on 2007-4-25 at 11:03 PM ]

