2012-05-14, 03:47
Thanks a bunch angelscry! By putting an url address in the argument i was able to get everything working. Curious it doesnt work when empty.
One thing i had to change was the batch file. For some reason when running that script, it throws the dos window on top, so added "start" before firefox.exe.
Probably better that way anyways, now the window closes once firefox opens instead of waiting for firefox to close.
One thing i had to change was the batch file. For some reason when running that script, it throws the dos window on top, so added "start" before firefox.exe.
Code:
pskill -t firefox
cd "C:\program files (x86)\mozilla firefox"
start firefox.exe %1