title: Limit for URL length for "rundll32 url.dll,FileProtocolHandler"?
body: <p>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</p>
  
  <pre><code>Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler "+url)
  </code></pre>
  
  <p>For short URLs like "<a href="http://www.google.com" rel="nofollow noreferrer">http://www.google.com</a>" 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.</p>
  
  <p>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?</p>