![]() |
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-09-23 14:37 |
47,812 topics / 349,917 posts / today 0 new / 48,273 members |
| DOS批处理 & 脚本技术(批处理室) » How to append data to notepad data |
| Printable Version 1,896 / 2 |
| Floor1 sncffbo | Posted 2005-05-25 00:00 |
| 初级用户 Posts 12 Credits 137 | |
|
How to append data in the content of Notepad
I used the command line (for /l %i in (00000000,1,99999999) do @echo %i > dict.txt) to create a file After execution, the content of dict.txt is: 00000000 00000001 ........... 99999999 Now I want to add the same data in front of each line of data, such as 130, or 139 and so on, and then get Such as? 13000000000 13000000001 13099999999 Dear "great immortals", how can I operate in batches? |
|
| Floor2 willsort | Posted 2005-05-29 00:00 |
| 元老会员 Posts 1,512 Credits 4,432 | |
|
Re sncffb
How do you get numbers with a prefix of 0 like 00000000? In my test, I can only get 0, 1,...10,...100, so I used the recursive binary search method in another reply. Among them, it mentions how to add a prefix to a number. |
|
| Floor3 smileseeker | Posted 2005-05-29 00:00 |
| 中级用户 Posts 83 Credits 316 | |
|
What Willsort said is correct. You can't directly get 01 02 03 04...
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |