Here is the command for doing the job:
start /wait "%PROGRAMFILES%\Mozilla Firefox\firefox.exe" -install-global-extension "%PROGRAMFILES%\Mozilla Firefox\adblock.xpi"
And here is the same thing in the batch script:
echo. echo Installing First Extension start /wait "%PROGRAMFILES%\Mozilla Firefox\firefox.exe" -install-global-extension "%PROGRAMFILES%\Mozilla Firefox\adblock.xpi"
It won't work though!
An error box titled "-install-global-extension" will come up saying:
-install-global-extension said:
Windows cannot find '-install-global-extension'. Make sure you typed the name correctly and then try again. To search for a file, click the Start button and click Search.
Or you could just copy the above code and make your own batch file and see the error yourself.



Help
Back to top









