1
我可以手動執行whois命令,但是當我嘗試使其遍歷DNS列表的地址時,它不起作用。 代碼:批處理:在循環中執行whois命令似乎不起作用
for /F "tokens=*" %%A in (dnsnames.txt) DO whois %%A > results.txt
輸出的兩個地址:
Whois v1.12 - Domain information lookup utility
Sysinternals - www.sysinternals.com
Copyright (C) 2005-2014 Mark Russinovich
Connecting to COM.whois-servers.net...
Connecting to COM.whois-servers.net...
Connecting to whois.markmonitor.com...
這可能是我的問題。 – pxslfds 2014-09-30 16:20:48