小编Cur*_*Dev的帖子

在循环中重复程序

我正在使用 Windows 10 专业版。我想创建一个批处理文件:

  1. 打开火狐浏览器,
  2. 导航到一个页面
  3. 一分钟后关闭浏览器。
  4. 重复步骤 1 到 3。

到目前为止,我想出了以下代码来写入我的批处理文件:

@echo off
start "C:\Program Files\Mozilla Firefox\firefox.exe" "http://testmywebsiteloadspeed.com"
ping -n 1 -w 60 
Run Code Online (Sandbox Code Playgroud)

但这没有任何作用。另外我如何实现 3 & 4?

windows batch-file windows-10

2
推荐指数
1
解决办法
2063
查看次数

标签 统计

batch-file ×1

windows ×1

windows-10 ×1