How to make CMD say something? -


i need create .cmd file, , when execute it, opens cmd , shows whatever typed in file. like

(of course fake)

scanning.....c:/windows scanning.....c:/ scanning.....ports

etc,so says whatever want.

also, there way have interval of when says something?

like:

scanning..... (5secs after) scanning....

is possible? if so, how?

echo textgoeshere 

or

echo "hey look, text" 

will output text.

pause 

will wait user press key , prompt "press key continue".

sleep 5 

will pause 5 seconds.

however, of windows vista, sleep seems no longer included in default set of commands. supposedly this: http://www.microsoft.com/downloads/en/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en contains sleep.exe file you'd need this.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -