中国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-02 10:20
48,037 topics / 350,122 posts / today 0 new / 48,251 members
DOS批处理 & 脚本技术(批处理室) » Can batch processing read data from a specified line of a text file?
Printable Version  1,763 / 6
Floor1 xjj2007 Posted 2006-10-29 14:19
初级用户 Posts 57 Credits 149 From 湖南
I believe DOS can do things that Windows can't do well and things that Windows can't do.
Dear all experts, how to achieve this with DOS batch processing?
I envisage creating two files, a batch file and a text file. The text file is used as a "database", and the batch file is used to read data from it. I input certain characters at the prompt of the batch file, and the batch file reads the corresponding data of the corresponding line.
If it is cumbersome to list them one by one, please experts mention the core commands and parameters to achieve it.


Thank you all!
NSMHXJJ

[ Last edited by namejm on 2006-10-31 at 01:31 AM ]
Floor2 lxmxn Posted 2006-10-29 14:33
版主 Posts 4,938 Credits 11,386

  Just use "for+more+set" to get it done....
Floor3 redtek Posted 2006-10-29 20:54
金牌会员 Posts 1,147 Credits 2,902
Conceptions and principles similar to text-based databases, as well as algorithms to improve retrieval speed, can refer to the articles in the following link~:)

This is to simulate text-based databases and implement batch processing word retrieval under DOS using different algorithms such as fast row positioning...

[Collective Participation][Challenge Ideas][Batch Processing: Easily Translate Words]
http://www.cn-dos.net/forum/viewthread.php?tid=23683&page=1&fpage=2
Floor4 redtek Posted 2006-10-29 20:56
金牌会员 Posts 1,147 Credits 2,902
And the above principle can also be used to make simple "electronic address books", "phone address books" and other various fun small codes~:)

On the basis of the processing of the above text data,
In the future, it can realize "human-machine automatic chat" and "artificial intelligence language automatic response" and other more intelligent things~:)

If I don't remember wrong (I must have remembered wrong),
Either Google or Microsoft acquired a company that specializes in developing intelligent automatic language communication systems,
That is, to answer customers' English questions online in real time (such as advertising consultations, business consultations, etc.),
It is a bit similar to a "online customer service" system that does not involve workers,
But this thing is still in the research stage.

A long time ago, Tencent's QQ released a real-time robot chat system on Tencent Messenger (developed by a third party),
A long time ago on BBS (WEB interface), there were similar simpler intelligent automatic chat robots,...

[ Last edited by redtek on 2006-10-29 at 09:01 PM ]
Floor5 vkill Posted 2006-10-30 03:08
金牌会员 Posts 1,744 Credits 4,103 From 甘肃.临泽
Originally posted by redtek at 2006-10-29 20:56:
And the above principle can also be used to make simple "electronic address books" "phone address books" and other fun small codes~: )

On the basis of the processing of the above text data,
In the future, it can be realized...

Good idea
Floor6 lxmxn Posted 2006-10-30 03:41
版主 Posts 4,938 Credits 11,386

  Hehe....Brother redtek's idea is very creative....

  Once you master batch processing well, it really becomes "Nothing is impossible"....
Floor7 xjj2007 Posted 2006-10-30 13:54
初级用户 Posts 57 Credits 149 From 湖南
Thanks to everyone's posts!
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023