我正在尝试自动安装插件。Mozilla说这很简单,但是:
while
在.bat文件中找到任何循环,也没有找到sleep
毫秒级的循环。activate.bat
,并cfx xpi
在一个CMD窗口顺序,以及在其他CMD毕竟使用wget。即使第二部分该怎么办?我已经尝试过类似的方法:
START cmd /K "activate "cfx xpi"" && wget --post-file=tst-closing-cur-tab.xpi http://localhost:8888/
或者
START cmd /K "activate && "cfx xpi"" && wget --post-file=tst-closing-cur-tab.xpi http://localhost:8888/
但它始终cfx
在CMD中运行,而不是在“虚拟CMD”中运行activate
我用这个
call "c:\Firefox\Sdk\bin\activate.bat"
cd c:\dev-1.0.2.5-firefox\
cfx xpi
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句