中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-09 00:19
47,811 topics / 349,895 posts / today 0 new / 48,253 members
DOS批处理 & 脚本技术(批处理室) » How to submit search words to Baidu in the command line?
Printable Version  6,165 / 23
Floor1 hdshjffdd Posted 2006-08-08 07:47
初级用户 Posts 53 Credits 131
How to submit search words to Baidu in the command line?
Floor2 electronixtar Posted 2006-08-08 11:05
铂金会员 Posts 2,672 Credits 7,493
Why do people always want to use batch script to do these things?

start http://www.baidu.com/s?wd=keyword
Floor3 electronixtar Posted 2006-08-08 11:07
铂金会员 Posts 2,672 Credits 7,493
I guess you want to use a loop to maliciously click and deceive
Floor4 namejm Posted 2006-08-08 13:23
荣誉版主 Posts 1,737 Credits 5,226 From 成都
If there are several keywords and there are spaces between them, then you need to use the following format (note the quotes after start):
start "" "http://www.baidu.com/s?wd=keyword1 keyword2 keyword3……"
Floor5 hdshjffdd Posted 2006-08-08 13:49
初级用户 Posts 53 Credits 131
Thanks. How to submit to http://www.google.com/intl/zh-CN/?
Floor6 hdshjffdd Posted 2006-08-08 13:50
初级用户 Posts 53 Credits 131
Floor7 IceCrack Posted 2006-08-09 08:49
中级用户 Posts 168 Credits 332 From 天涯
So it turns out to be like this, I'm convinced
Floor8 electronixtar Posted 2006-08-11 22:54
铂金会员 Posts 2,672 Credits 7,493
Also simple

Floor9 luoxinxin1988 Posted 2006-08-12 17:37
初级用户 Posts 48 Credits 190
Floor10 holyman Posted 2006-10-25 02:02
初级用户 Posts 20 Credits 42
Floor11 9527 Posted 2006-10-25 03:03
银牌会员 Posts 438 Credits 1,185 From 北京
Hey, just write it roughly for convenience in future use. There's no filtering or anything, it's the most basic function. Everyone can add or delete functions

@echo off&setlocal
:start
cls
echo.&echo]&echo[&echo/&echo\&echo=
set/p a=Please choose which engine to use for searching(Exit=0)(Google=1)(BaiDu=2):
if not defined a goto start
if %a% equ 0 goto :eof
goto 3

:1
echo ----------++++++++Google Search++++++++----------
start "" "http://www.google.com/search?hl=zh-CN&q=%b%&lr="
goto :eof
:2
echo ----------++++++++Baidu Search++++++++----------
start "" "http://www.baidu.com/s?wd=%b%&cl=3"
goto :eof

:3
set/p b=Enter the keyword to search:
goto %a%
Floor12 electronixtar Posted 2006-10-25 04:35
铂金会员 Posts 2,672 Credits 7,493
The processing of p for 9527 is really powerful, sweating profusely.
Floor13 lxmxn Posted 2006-10-25 07:42
版主 Posts 4,938 Credits 11,386
This is also collected. I'll use it for tags later. ————
Floor14 vkill Posted 2006-10-25 08:54
金牌会员 Posts 1,744 Credits 4,103 From 甘肃.临泽
Many can be found by carefully observing the address bar for many searches, submissions, etc.
Floor15 redtek Posted 2006-11-24 23:00
金牌会员 Posts 1,147 Credits 2,902
The code in floor 8 and floor 11 is interesting~:) Accidentally saw this post again and enjoyed it again~:)
1 2  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023