Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Is there a way for me to make a batch file that displays a message (whatever it may be) character by character? For example, it might display "H", pause for half a second or one second, and then display "e" (on the same line), and continue the process until "Hello" is displayed.
"there are 10 types of people in the world: those who undertsnad binary, and those who don't."

@echo off
cls
echo H
ping -n 1 -w 1000 1.1>nul
cls
echo He
If at first you don't succeed, you're about average.M2

Thanks very much, I had something similar to the ping line, and I was trying to use it in exactly that way, but the line I found was incorrect in some way. This works perfectly, thanks very much.
-rock
"there are 10 types of people in the world: those who understand binary, and those who don't."

Hi rock,
What were you using that failed to do the job?
If at first you don't succeed, you're about average.M2

I was using a "batch file delay" line from the Computer Hope "Batch File Help" page:
TYPE NUL | CHOICE.COM /N /CY /TY,5 >NUL
of course, choice.com was replaced with the name of my batch file, but maybe I didn't understand how to use it correctly?
"there are 10 types of people in the world: those who understand binary, and those who don't."

"That line works as is"
but there is no Choice comand in standard Windows XP (both home and pro). You can copy Choice.com from Windows 98, but it suffers glitches in errorlevel codes.
Another way is to download the Windows 2000 version Choice.exe part of the MS Development Kit that can be found on many web sites. It's fully legal and may be very usefull.

Hi IVO,
I'm using CHOICE from 98 and using w2k.
What problems have you seen?
If at first you don't succeed, you're about average.M2

Hello M2,
I'm using Choice.com under Windows 2000 with (almost) no problem, but porting a script to XP environment I noticed return codes (ErrorLevel) are not always posted correctly.
More there are glitches under Win 2K too when using the default choice after n secs.
So despite a worse display of the pressed key (I'm maniac for the window's look in dialogs) I decided to convert to the NT based version Choice.exe that performs better (almost under Windows XP).

Hi M2,
Did you receive my mail with attached Choice.exe (english version)?
My first sending was rejected as spam for reasons unknown to me, then I enabled your mail server to accept the message and I got back no bad notification.
Please, remember to rename Choice.com to e.g. Choice.co_ before playing with the NT version to avoid confusion.
By the way the Choice.exe is better suited for NT environments and doesn't steal as much processor cycles as Choice.com while waiting for a key input.

Hi IVO,
If the attachment was EXE or ZIP it was blocked, as I have filters set.
You can get it through as .EX or .ZI
Thanks
If at first you don't succeed, you're about average.M2

Hi IVO,
Somehow you got blacklisted; probably when a flurry of crapware broke out a couple months ago.
I think you're clear now.
If at first you don't succeed, you're about average.M2

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |