title: Command to delete files in UNC path
body: <p>Hi I tried below command to delete files in UNC path </p>
  
  <pre><code>set folder="\\SERVERNAME\Publish" 
  cd /d %folder%
  for /F "delims=" %%i in ('dir /b') do (rmdir "%%i" /s/q || del "%%i" /s/q)
  </code></pre>
  
  <p>But I got error saying:</p>
  
  <pre><code>UNC paths are not supported. Defaulting to Windows Directory
  </code></pre>
  
  <p>Somehow I need to delete files that are residing in Server's shared path using batch command. Any help appreciated.</p>