中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-12 00:05
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS批处理 & 脚本技术(批处理室) » Display a String Character by Character
Printable Version  788 / 0
Floor1 zcydez Posted 2010-08-16 14:38
初级用户 Posts 21 Credits 38 From 南昌
Display a string character by character: Function: displays 1234567890abcdefghijklmnopqrstuvwxyz one character at a time, with a 1-second interval between every two letters. It also works for Chinese characters.
==================================================
Note: the n in for /l %%i in (0 1 n) do (......) is the number of characters to displayminus 1
No need to explain ping -n 2 127.0.1, it's for delay. The time can be adjusted.
==================================================
Everyone can copy it into your own batch files to make them look nicer!

And don't forget to reply!
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023