title: WinRT Create File at Customized Path
body: <p>I am writing some code to create a file from a Windows 8 app in an standard way, the code looks like below:</p>
  
  <pre><code>using namespace Windows::Storage;
  
  StorageFolder^ folder = KnownFolders::DocumentsLibrary;
  String ^filename = ref new String(L"file.txt");
  
  auto createFile = folder-&gt;CreateFileAsync(filename, CreationCollisionOption::ReplaceExisting);
  concurrency::create_task(createFile).wait;
  </code></pre>
  
  <p>Now instead of using <code>DocumentsLibrary</code>, I want to write thid file to an customized file path, like:
  <br><code>C:\Users\&lt;username&gt;\AppData\Local\ExampleApp\ExampleFolder</code></p>
  
  <p>How should I change the code to be able to do this? Thanks!</p>