小编Jon*_*ton的帖子

Internet Explorer 命令行参数

我正在尝试从批处理文件/计划任务运行 Internet Explorer。

我的批处理文件包含(全部):

cd "%ProgramFiles%\Internet Explore"
iexplore.exe http://superuser.com -nohome
Run Code Online (Sandbox Code Playgroud)

当我运行批处理文件时,URL 会选择命令行参数,而不是对其进行操作。

http://superuser.com%20-nohome/

我确定我在做一些愚蠢的事情,但目前不知道是什么。解决办法是什么?

这是在带有 Internet Explorer 8 的 Windows 7 Home Premium 上。

更新以回应评论:

nohome从某个网站或其他网站获得了,可能是评论中提到的那个。之前的尝试实际上是使用nohangrecovery记录在案的Internet Explorer Command-Line Options

我最初的尝试是这样的(实际上是根据 MSDN 文档:

cd "%ProgramFiles%\Internet Explore"
iexplore.exe -nohangrecovery http://superuser.com
Run Code Online (Sandbox Code Playgroud)

这导致地址栏包含:

http://-nohangrecovery%20http//superuser.com

抱歉,如果这是重复的 - 我在搜索时看不到任何匹配项。

internet-explorer internet-explorer-8 command-line

13
推荐指数
1
解决办法
9万
查看次数