title: UNC Path within a programs command line batch file
body: <p>I am using a great little program <a href="http://skwire.dcmembers.com/wb/pages/software/text-2-folders.php" rel="nofollow noreferrer">text2folders</a> and I have been able to make it run as a right click context menu in windows 10. I have it working perfect for drives with drive letters but it is failing when I using it on UNC path shares.  I know I am close but struggling to fix this last bit for UNC paths.</p>
  
  <p>When I run on a UNC share it is adding &lt;> around the path and causing the program to fail. <a href="https://i.stack.imgur.com/riDuu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/riDuu.png" alt="a sample of the error I am seeing"></a></p>
  
  <p>I need ideas how to either remove the &lt;> or stop them from being created in the first place. Here is my registry entry and my batch file for the command line.<br>
  Any suggestions would be greatly appreciated!</p>
  
  <p>My Registry entry</p>
  
  <pre><code>Windows Registry Editor Version 5.00
  
  [HKEY_CLASSES_ROOT\Directory\shell\cadastralfolders]
  @="Create Cadastral Folders"
  
  [HKEY_CLASSES_ROOT\Directory\shell\cadastralfolders\command]
  @="cmd.exe /s /k pushd \"%V\\\"&amp;call \"\\\\server2\\data structured\\PROJECTS\\CADASTRAL NETWORK\\Text2Folders\\cadastralfolders.bat\" \"%V\" \"exit\""
  </code></pre>
  
  <p>My batch</p>
  
  <pre><code>@echo off
  start "" "\\SERVER2\Data Structured\PROJECTS\CADASTRAL NETWORK\Text2Folders\Text2Folders.exe" "%cd%" "\\SERVER2\Data Structured\PROJECTS\CADASTRAL NETWORK\Text2Folders\cadastral folder stucture.txt" -q 
  exit
  </code></pre>