title: pushd not allowing UNC paths, cmd extensions are enabled
body: <p>I've used the <a href="https://stackoverflow.com/a/9020832/14420"><code>pushd "%~dp0"</code> trick</a> for years to run batch files from server locations without issue. It's not working anymore, and it's not because CMD extensions are unavailable or I've run out of drive letters (<a href="https://stackoverflow.com/a/31437293/14420">ref1</a>,<a href="https://stackoverflow.com/a/2411626/14420">ref2</a>).  Any clue what's going on? </p>
  
  <p>System is Win7-Pro SP1 x64.</p>
  
  <p>3rd party installs which interact with or modify CMD (I'm pretty sure I've used pushd+UNC after installing these, it's a very common technique, but can't swear to it): </p>
  
  <ul>
  <li><a href="https://conemu.github.io/" rel="nofollow noreferrer">ConEmu</a> 160619 (x64) Stable</li>
  <li><a href="http://mridgers.github.io/clink/" rel="nofollow noreferrer">Clink</a> v0.4.4 </li>
  </ul>
  
  <p>.</p>
  
  <pre><code>d:\&gt;pushd \\server4\share
  ' '
  CMD does not support UNC paths as current directories.
  </code></pre>
  
  <p>.</p>
  
  <pre><code>d:\&gt;reg query "HKCU\Software\Microsoft\Command Processor" /v EnableExtensions
  
  HKEY_CURRENT_USER\Software\Microsoft\Command Processor
      EnableExtensions    REG_DWORD    0x1
  
  d:\&gt;net use
  New connections will be remembered.
  
  Status       Local     Remote                    Network
  -------------------------------------------------------------------------------
  OK           B:        \\server1\dev              Microsoft Windows Network
  OK           F:        \\server1\dev              Microsoft Windows Network
  OK           G:        \\server2\corp             Microsoft Windows Network
  OK           H:        \\server3\home             Microsoft Windows Network
  OK           I:        \\server4\share            Microsoft Windows Network
  OK           N:        \\server1\dev              Microsoft Windows Network
  OK           O:        \\server1\dev              Microsoft Windows Network
  OK           P:        \\server5\files            Microsoft Windows Network
  OK           Q:        \\server1\dev              Microsoft Windows Network
  OK           R:        \\server5\work             Microsoft Windows Network
               S:        \\server6\data             Microsoft Windows Network
  OK           T:        \\server5\maps             Microsoft Windows Network
  OK           U:        \\server7\layers           Microsoft Windows Network
  OK           V:        \\server8\home\me          Microsoft Windows Network
  OK           W:        \\server5\warehouse        Microsoft Windows Network
  OK           X:        \\server5\work             Microsoft Windows Network
  OK           Y:        \\server5\dev_repo         Microsoft Windows Network
  OK           Z:        \\server5\repository       Microsoft Windows Network
  OK                     \\server5\work             Microsoft Windows Network
                         \\mysites.sharepoint.org\DavWWWRoot  Web Client Network
  OK                     \\server4\ITSupport        Microsoft Windows Network
                         \\sharepoint.org@SSL\DavWWWRoot  Web Client Network
                         \\sharepoint.org\DavWWWRoot      Web Client Network
  
  The command completed successfully.
  </code></pre>