use*_*765 4 windows windows-7 internet-explorer
如何在 Internet Explorer 中打开网站,并从 Windows 7 中的命令行启动它?
这是我想通过 IE 打开的网页:
http://example.com/api/sendValidSMSdataUrl.php?login=demodlc&pword=YourPassword&msg=msg&senderid=OPTINS&mobnum=mobnum
and*_*415 13
以下命令将打开一个新的 Internet Explorer 窗口(32 位或 64 位版本取决于系统,假设已安装),并加载页面:
"%ProgramFiles%\Internet Explorer\iexplore.exe" "http://onlinesms.in/api/sendValidSMSdataUrl.php?login=demodlc&pword=YourPassword&msg=msg&senderid=OPTINS&mobnum=mobnum"
Run Code Online (Sandbox Code Playgroud)
如果您只想加载默认浏览器(可能不是 Internet Explorer),则可以改用以下内容:
start "link" "http://onlinesms.in/api/sendValidSMSdataUrl.php?login=demodlc&pword=YourPassword&msg=msg&senderid=OPTINS&mobnum=mobnum"
Run Code Online (Sandbox Code Playgroud)
需要引号以避免由于保留字符导致的解析错误,否则需要单独转义。
优点是如果默认浏览器已经打开,页面应该在新选项卡中加载,而不是在新窗口中加载。
| 归档时间: |
|
| 查看次数: |
56329 次 |
| 最近记录: |