易语言运行dos的两种方式
运行 (“cmd /c nslookup 133.123.123.123 >666.txt”, 真, #隐藏窗口)
系统_取DOS执行结果 (“C:\Windows\System32\cmd.exe nslookup 133.123.123.123” )
用ip反查命令为例
第一个是核心支持库的命令,返回内容保存在666.txt中
第二个是精易模块的命令,直接返回文本型的返回内容。
原文转自:http://www.zhizhuowz.com/post-483.html