title: What characters are forbidden in Windows and Linux directory names?
body: <p>I know that <code>/</code> is illegal in Linux, and the following are illegal in Windows
  (I think) <code>*</code> <code>.</code> <code>&quot;</code> <code>/</code> <code>\</code> <code>[</code> <code>]</code> <code>:</code> <code>;</code> <code>|</code> <code>,</code></p>
  <p>What else am I missing?</p>
  <p>I need a comprehensive guide, however, and one that takes into account
  double-byte characters. Linking to outside resources is fine with me.</p>
  <p>I need to first create a directory on the filesystem using a name that may
  contain forbidden characters, so I plan to replace those characters with
  underscores. I then need to write this directory and its contents to a zip file
  (using Java), so any additional advice concerning the names of zip directories
  would be appreciated.</p>