in reply to How to start default browser on Windows?

you're almost there: system("start http://$url") should do it...