title: Are all file names valid directory names?
body: <p>I need to create a directory for a file. The easiest path would be to create a directory with the same name as the file, and put the file there.</p>
  
  <p>Is there any case where a valid file name would be an invalid directory name?</p>
  
  <p>The directory will of course be created on the same system as where the file name is valid.</p>
  
  <p>So basically I'm asking if there is any system where there are different limitations on directory names and file names.</p>