title: Echo %path% on separate lines
body: <p>Using the Windows command prompt, can I <em>echo %path%</em> and get the resulting paths on separate rows?</p>
  <p>Something like this, but for Windows:</p>
  <pre class="lang-none prettyprint-override"><code>echo $path | tr ':' '\n'
  </code></pre>
  <p>Can I do this with vanilla <a href="https://en.wikipedia.org/wiki/Cmd.exe" rel="nofollow noreferrer">cmd</a> or do I need PowerShell or JavaScript scripting?</p>
  <p>Example echo %path% output:</p>
  <pre class="lang-none prettyprint-override"><code>C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;
  </code></pre>
  <p>Desired output:</p>
  <pre class="lang-none prettyprint-override"><code>C:\WINDOWS\system32;
  C:\WINDOWS;
  C:\WINDOWS\System32\Wbem;
  C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;
  C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;
  C:\Program Files\Microsoft SQL Server\90\Tools\binn\;
  C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;
  C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;
  </code></pre>