Computing.Net > Forums > Disk Operating System > Typewriter effect for batch files

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Typewriter effect for batch files

Reply to Message Icon

Name: sarpedon
Date: February 14, 2005 at 21:50:47 Pacific
OS: Msdos
CPU/Ram: PIII 667 Mhz & 256 rdram
Comment:

Hi,
I have a batch file for msdos. I'd like write a text like "welcome to my computer" but like a typewriter, where every character is typed at an interval.
How can i do it?
Thanks in advance...
Sarpedon



Sponsored Link
Ads by Google

Response Number 1
Name: wizard-fred
Date: February 16, 2005 at 09:07:02 Pacific
Reply:

You will need a program that will display the text one character at a time with a delay between each.


0

Response Number 2
Name: sarpedon
Date: February 17, 2005 at 11:39:54 Pacific
Reply:

Which program?


0

Response Number 3
Name: wizard-fred
Date: February 17, 2005 at 12:14:55 Pacific
Reply:

I would use BASIC.


0

Response Number 4
Name: sarpedon
Date: February 17, 2005 at 14:25:38 Pacific
Reply:

Unfortunately, i don't know BASIC Programming language..


0

Response Number 5
Name: wizard-fred
Date: February 18, 2005 at 03:54:40 Pacific
Reply:

I am working on a basic program that I will email to you when finished.


0

Related Posts

See More



Response Number 6
Name: Larry21
Date: February 18, 2005 at 04:12:15 Pacific
Reply:

Its not too hard, its pretty 'basic' actually.

This should bring the text on onto the screen one letter at a time:

CLS
welcome$ = "Welcome to my computer!"
N = LEN(welcome$)
FOR x = 1 TO N
PRINT MID$(welcome$, x, 1);
t = TIMER
DO: LOOP WHILE TIMER - t < .2
NEXT x
END


All you have to do is download BASIC (pretty much any version, I think, though best bet would probably be a later version of QuickBasic so that you can easily turn it into an exec) and insert that code. Then, if you want it to be executable as a stand alone thing like a batch file, you just have to convert the .BAS to an .exe (of course dont just rename it but rather you have to truly convert it.)

Good luck,
Larry

PS- It would probably make more sense for this question to be asked in a 'Prgramming' forum. You'd probably get more experienced answers.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

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


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Typewriter effect for batch files

Color for batch files www.computing.net/answers/dos/color-for-batch-files/3489.html

Batch file alteration www.computing.net/answers/dos/batch-file-alteration/9764.html

Want code for batch file please www.computing.net/answers/dos/want-code-for-batch-file-please/10708.html