![]() |
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 21:19 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS学习入门 & 精彩文章 (教学室) » Is there a DOS command that can tell whether a file contains a certain string? |
| Printable Version 720 / 4 |
| Floor1 站不稳 | Posted 2003-07-15 00:00 |
| 初级用户 Posts 30 Credits 218 | |
|
Is there a DOS command that can tell whether a file contains a certain string, and store the result in ERRORLEVEL?
That's the question ^_&o |
|
| Floor2 站不稳 | Posted 2003-07-15 00:00 |
| 初级用户 Posts 30 Credits 218 | |
|
Something that can tell whether a string contains another string would also be fine~
|
|
| Floor3 站不稳 | Posted 2003-07-15 00:00 |
| 初级用户 Posts 30 Credits 218 | |
|
Explain what find is for, and how to use it.
|
|
| Floor4 Wengier | Posted 2003-07-15 00:00 |
| 系统支持 Posts 10,521 Credits 27,736 | |
|
Try XFIND... for example: XFIND “字符串“ 文件名
|
|
| Floor5 dv人 | Posted 2003-07-16 00:00 |
| 初级用户 Posts 35 Credits 281 | |
|
findstr seems like it can do it, go look for a tutorial,,,,
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |