gpt4 book ai didi

internet-explorer - 在 Internet Explorer 7 中打开多个页面的 Windows 控制台命令

转载 作者:行者123 更新时间:2023-12-01 07:33:02 25 4
gpt4 key购买 nike

如何使用单个 DOS 命令在 Internet Explorer 7 中打开多个页面?批处理文件是执行此操作的唯一方法吗?

谢谢!

最佳答案

批处理文件将作为一种快速而肮脏的解决方案。

@echo off
@setlocal

:openurl
set url=%~1

if "%url:~0,4%" == "http" (
start "%ProgramFiles%\Internet Explorer\iexplore.exe" "%url%"
)
if NOT "%url:~0,4%" == "http" (
start "%ProgramFiles%\Internet Explorer\iexplore.exe" "http://%url%"
)

shift
if "%~1" == "" goto :end
goto :openurl

:end

编辑:添加了对没有 http 处理程序前缀的域名的支持。

关于internet-explorer - 在 Internet Explorer 7 中打开多个页面的 Windows 控制台命令,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/118748/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com