|
xjj2007
初级用户
 
积分 149
发帖 57
注册 2006-10-26 来自 湖南
状态 离线
|
『楼 主』:
批处理能不能做到读取文本指定行数据
使用 LLM 解释/回答一下
我相信DOS能做WONDOWS做不好的事,能做WINDOWS做不了的事. 请问各位高手DOS的批处理怎样实现这个呢?
我设想建立两文件,一个批处理文件,一个文本文件,文本文件做"数据库",用批处理来读取其中数据,我在批处理的提示符下输入一定的字符,批处理就读取相应行的相应数据.
如果因为繁琐而不能一一例举,就请各位高手提一下实现它的核心命令和参数.
谢谢各位了!
NSMHXJJ
Last edited by namejm on 2006-10-31 at 01:31 AM ]
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 ]
|
|
2006-10-29 14:19 |
|
|
lxmxn
版主
       
积分 11386
发帖 4938
注册 2006-7-23
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
for+more+set就可以搞定了....
Just use "for+more+set" to get it done....
|
|
2006-10-29 14:33 |
|
|
redtek
金牌会员
     
积分 2902
发帖 1147
注册 2006-9-21
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
类似文本型数据库的 构想 和 原理 还有 提高检索速度的算法,
可以参考下面的链接中的文章~:)
这是使用文本型数据库模拟 和 快速行定位等不同算法来实现dos下的批处理单词检索……
[共同参与][挑战思路][批处理:轻松译单词]
http://www.cn-dos.net/forum/viewthread.php?tid=23683&page=1&fpage=2
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
|

Redtek,一个永远在网上流浪的人……
_.,-*~'`^`'~*-,.__.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._ |
|
2006-10-29 20:54 |
|
|
redtek
金牌会员
     
积分 2902
发帖 1147
注册 2006-9-21
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
而且上面原理还可以做简单的 “电子通讯录” “电话通讯录” 等各种好玩的小代码~:)
在上面文本数据据的处理基础上,
将来就可以实现 “人机自动聊天” 和 “人工智通语言自动应答” 等更智能的东东了~:)
如果没有记错的话(一定记错了),
不是Google就是微软收购了一家专门开发智能自动语言沟通系统的公司,
即在线即时应答客户的英文提问(如广告咨询,业务咨询等内容),
有点类似于非工人介入的“在线客服”系统,
不过这东东还在研究阶段。
很久以前QQ(腾讯)出过TM通讯软件上的实时机器人聊天系统(第三方开发的),
在更久以前的BBS上(WEB界面)也有类似的更简单的智能自动聊天机器人,……
Last edited by redtek on 2006-10-29 at 09:01 PM ]
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 ]
|

Redtek,一个永远在网上流浪的人……
_.,-*~'`^`'~*-,.__.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._ |
|
2006-10-29 20:56 |
|
|
vkill
金牌会员
     
积分 4103
发帖 1744
注册 2006-1-20 来自 甘肃.临泽
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
Originally posted by redtek at 2006-10-29 20:56:
而且上面原理还可以做简单的 “电子通讯录” “电话通讯录” 等各种好玩的小代码~:)
在上面文本数据据的处理基础上,
将来就可以实玠...
想法很好
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
|
|
2006-10-30 03:08 |
|
|
lxmxn
版主
       
积分 11386
发帖 4938
注册 2006-7-23
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
呵呵....redtek兄的想法很有创意啊....
把批处理学精了,就真的是 " Nothing is impossible " 了....
Hehe....Brother redtek's idea is very creative....
Once you master batch processing well, it really becomes "Nothing is impossible"....
|
|
2006-10-30 03:41 |
|
|
xjj2007
初级用户
 
积分 149
发帖 57
注册 2006-10-26 来自 湖南
状态 离线
|
|
2006-10-30 13:54 |
|