怎么判断一个文件中是否含有某个字符串

2025-03-04 21:30:10
推荐回答(1个)
回答1:

在dos窗口中执行find命令即可。
例如:要在文件xyz.txt中查找是否含有“abc”,可用以下命令:
find "abc" xyx.txt