in reply to How to start default browser on Windows?

The right way to do it is to go through the Windows Shell. This will ensure you get the default browser without having to do any poking around in the registry.

	use Win32::FileOp qw(ShellExecute);
	ShellExecute('http://...');

(Note: Untested. Win32::FileOp is on CPAN.)

  • Comment on Re: How to start default browser on Windows?

Replies are listed 'Best First'.
Re^2: How to start default browser on Windows?
by Scott7477 (Chaplain) on Apr 18, 2006 at 18:58 UTC
    This works perfectly in ActiveState 5.8.7.