如何通过.bat'激活'后运行'cfx xpi'?

Nex*_*xen 5 batch-file firefox-addon-sdk

我正在尝试自动安装我的插件.Mozilla说这很简单,但是:

  1. 我没有while在.bat文件或sleepmilisec中找到任何循环.
  2. 我不明白,如何使用activate.bat,并cfx xpi在一个CMD窗口顺序,也毕竟使用wget在其他CMD.

即使第二部分我该怎么办?我尝试过类似的东西:

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

Suh*_*han 2

我用这个

call "c:\Firefox\Sdk\bin\activate.bat"
cd c:\dev-1.0.2.5-firefox\
cfx xpi
Run Code Online (Sandbox Code Playgroud)