title: How to start Atom or VSCode natively installed on Windows from within WSL (Ubuntu)?
body: <p>I have installed Atom editor natively on Windows 10 by downloading an running the installer. Now I start WSL Ubuntu distro and want to start Atom (atom-editor) from there with the command <code>atom .</code> or VSCode (visual-studio-code) with the command <code>code .</code></p>
  
  <p>Atom starts, but not in the directory where the command was executed, instead it shows files from <code>C:\\Windows</code>. Moreover Ubuntu WSL terminal shows following error message:</p>
  
  <pre><code>atom .
  grep: /etc/wsl.conf: No such file or directory
  "\\wsl$\Ubuntu-18.04\home\wlad\projects\udemy\flask-bootcamp\Flask-Bootcamp-master"
  CMD.EXE wurde mit dem oben angegebenen Pfad als aktuellem Verzeichnis gestartet.
  UNC-Pfade werden nicht unterstützt.
  Stattdessen wird das Windows-Verzeichnis als aktuelles Verzeichnis gesetzt.
  </code></pre>
  
  <p>Sorry it's German localized but it says something like <code>UNC-paths are not supported</code></p>
  
  <p>(haven't tested VSCode yet)</p>
  
  <p><strong>So how can I use Atom or VSCode editor installed on Windows 10 from within WSL?</strong></p>
  
  <p>** <strong>UPDATE</strong> **
  As of today (April 2020) there is a much better way to use VSCode on Windows w/ WSL, VirtualMachines (VM) and even Containers. Check out <a href="https://code.visualstudio.com/docs/remote/remote-overview" rel="noreferrer">remote-development plugin</a> for VSCode.</p>