I've tried various permutations of:
firefox.exe "javascript:document.location='http://site.com';document.cookies='key=val';"
But with no good result; the cookie is not added for the site.com domain. Is it at all possible to accomplish using this approach?