title: Auto-loading file on program startup
body: <p>Ok, so here's a bit of code. I'm having an issue where I want to save to a pre-defined location, and I want to have a pre-defined name for a file. Neither FileStream nor StreamWriter allows you to set both of those paramters as far as I can tell, based on what I've seen on MSDN. </p>
  
  <pre><code>FileStream fs = new FileStream("PermaServerList", FileMode.Create, FileAccess.Write);
  StreamWriter hiddensw = new StreamWriter(@"Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments", false);
  </code></pre>
  
  <p>So, if you look at that, how would I get it to save a file called "PermaServerList" to the location "My Documents", regardless of the version of Windows they're using? I don't want to hard code in a location, I want it to always be whatever My Documents is in their particular version.</p>
  
  <p>Alternatively, the idea behind this is that every time the program starts, I want it to load the list they last saved automatically. Is there a -simple- way to do this? Right now, the idea is that I'll just save to their chosen location, and then make a second copy in my pre-defined location and just load that on program startup. Ideas?</p>