Board logo

标题: [文本处理] 请教关于网页搜索的批处理命令问题,请大神指教 [打印本页]

作者: dpsasy    时间: 2018-11-6 16:58     标题: 请教关于网页搜索的批处理命令问题,请大神指教

这个是可以正常运行的搜索命令,我想把set url=https://www.baidu.com/s?wd= 百度的搜索 改成
http://index.woai310.com/index.htm?u=23044 搜索 我替换后不能正常运行搜索,请指教 QQ214443771
  1. @echo off
  2. set n=0
  3. :openurl
  4. set /a n+=1
  5. set url=https://www.baidu.com/s?wd=
  6. ::打开网页,之后进行后续操作
  7. set key=第一步
  8. start iexplore %url%%key%
  9. choice /t 5 /d y /n >nul
  10. set key=第二步
  11. start iexplore %url%%key%
  12. choice /t 5 /d y /n >nul
  13. taskkill /f /t /im iexplore.exe
  14. if %n%==5 exit
  15. goto openurl
复制代码

这个是可以正常运行的搜索命令,我想把set url=https://www.baidu.com/s?wd= 百度的搜索 改成
http://index.woai310.com/index.htm?u=23044 搜索 我替换后不能正常运行搜索,请指教 QQ214443771 有会的 请加我 有红包感谢。
作者: dpsasy    时间: 2018-11-6 16:59

请指教   谢谢@~!@!
作者: hlzj88    时间: 2018-11-6 17:33

你试试这个地址 http://www.sogou.com/sogou?query=
作者: xczxczxcz    时间: 2018-11-7 07:49

回复 2# dpsasy

可以打开搜索啊。IE11.
作者: dpsasy    时间: 2018-11-7 17:10

xiex谢谢指教了 有个朋友帮忙弄了!@~!




欢迎光临 批处理之家 (http://bbs.bathome.net/) Powered by Discuz! 7.2