Batch to exe Install adblock plus using batch file command -


@echo off

start firefox.exe "file:///%tmp%/tmp-ho2.xpi"

suddenly files wont install cause path not correct because bath exe program create new random name folder in temporary folder once execute it.i cant configure out folder name should add in "file:///%tmp%/?????/tmp-ho2.xpi"

start firefox.exe "%~p0\tmp-ho2.xpi" 

%~p0 expanded directory batch program run from.


Comments