I have a long URL with tons of parameters that I want to open in the default browser from Java on a Windows system using
Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler "+url)
For short URLs like "http://www.google.com" this works fine. But for long URLs (say, 2000 characters), this simply does absolutely nothing at all: no exception or anything of the sort, it is simply ignored.
Is there a character limit a) for a Runtime.exec command or b) for the rundll32 url.dll command? If so, what is the limit?