Commands to overcome file folder path issues

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

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.