Delete folder with space at the end for instance “Z:\WEB\Feature Page\CK ”
rmdir /S "\\?\Z:\WEB\Feature Page\CK "
The file name is too long – shorten the path by substituting a drive letter for a portion of the path
subst Y: D:\this\file\path\is\waaaay\too\long
subst Y: /D