code: public function removeJunction($junction)
      {
          if (!Platform::isWindows()) {
              return false;
          }
          $junction = rtrim(str_replace('/', DIRECTORY_SEPARATOR, $junction), DIRECTORY_SEPARATOR);
          if (!$this->isJunction($junction)) {
              throw new IOException(sprintf('%s is not a junction and thus cannot be removed as one', $junction));
          }
  
          return $this->rmdir($junction);
      }
docs: Removes a Windows NTFS junction.
  
  @param  string $junction
  @return bool