Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要逐行搜索以确保 .text 文件的每一行都出现一个单词。我目前正在研究批处理脚本,因此如果批处理具有执行此操作的功能,那将是理想的选择。否则,我有什么选择?
echo Lines that have NOT the search word: findstr /N /V /C:"theWord" theFile.txt
为什么不使用 c++ over .txtfile 然后将文件转换为批处理文件。
.txt