标签:inter word syn alt plain 不能 com ken tar
1简单调用
|
1
|
start www.baidu.com |
注意:网址不能有“&”连接的参数,如不能打开:www.baidu.com/a=1&b=2
2带多个参数的URL
|
1
2
3
|
start iexplore "www.baidu.com/a=1&b=2"或浏览器全路径star "c:\\program files\internet explore\iexplore.exe" "www.baidu.com/a=1&b=2" |
3批量打开
|
1
2
3
4
5
6
7
8
9
10
|
@echo offfor /f "tokens=*" %%i in (www.txt) do (start %%i pause)www.txt中每个网址一行/f 表示打开文件tokens 表示取所有列%%i 定义变量www.txt 文件名 |
4定时关闭
|
1
2
3
4
5
6
7
8
9
10
11
12
|
@echo offfor /f "tokens=*" %%i in (www.txt) do (start iexplore %%i&ping /w 1000 /n 1 1.1 >nul 2>nultaskkill /f /im iexplore.exe)ping /w无回应时超时毫秒/n ping的次数1.1 一个不存在的主机地址>nul 不显示正确提示信息2>nul 不显示错误提示信息taskkill /f 强制结束进程/im 通过影响名称确定进程 |
5最小化启动
|
1
|
start /min iexplore "%%a" |
标签:inter word syn alt plain 不能 com ken tar
原文地址:https://www.cnblogs.com/mengxiangdetiankonghenda/p/12454482.html