title: WSL: Using A WSL symlink folder from Windows
body: <p>I use WSL almost exclusively, and only switch to main windows for browsing and running Windows native programs. I have a git repository located at <code>/mnt/c/myrepo</code>. In order to "install" the code inside <code>/mnt/c/myrepo</code> I need to move it to <code>/mnt/c/otherlocation/renamed</code>. Instead of executing <code>cp -r /mnt/c/myrepo /mnt/c/otherlocation/renamed</code> every time I do a <code>git pull</code> from <code>/mnt/c/myrepo</code>, I would like to symlink <code>/mnt/c/myrepo</code> to <code>/mnt/c/otherlocation/renamed</code>. However when I do this, the program which consumes <code>/mnt/c/otherlocation/renamed</code> isn't able to view the "contents" of renamed as a directory. </p>
  
  <p>I have been all over the WSL github repo and issue tracker trying to find a solution to this issue. I see a lot of exclamations about how symlinks "just work". I have enabled every Windows 10 developer feature I can find, I even followed some reddit thread where someone claimed that purchasing Pengwin and creating a symlink from Pengwin would ensure this compatibility, but I still can't seem to make this work.</p>
  
  <p>The basic usage I need, is allow me to view "renamed" as a directory from windows, or for windows to recognize the symlink as a symlinked directory.</p>
  
  <p>from wsl:</p>
  
  <pre><code>ln -s /mnt/c/myrepo  /mnt/c/otherlocation/renamed
  </code></pre>
  
  <p>from windows:</p>
  
  <ol>
  <li>open file explorer</li>
  <li>navigate to c:\otherlocation</li>
  <li>open mydir and view the contents as if it were a native directory</li>
  </ol>
  
  <p>How do I do this?</p>