CODE: [Copy to clipboard]@echo off set /p num=请输入要查询的数字: findstr "%num%" "号码文档.txt">"查到的号.txt" start notepad "查到的号.txt"