2017-04-07

資料夾存在卻無法刪除的問題

在 File Server 發生刪除資料夾時顯示 "The system could not find the file specified."
這些資料夾的共同特性是名稱最後有一個空白
並且這些資料夾也無法被重新命名
資料夾內容的安全性 ACL 顯示:

在這裡找到的刪除的語法:

https://social.technet.microsoft.com/Forums/windowsserver/en-US/be3fe04d-e725-4199-828c-30eef70fcf95/unable-to-delete-folder-could-not-find-this-item

Open CMD and then type:
rd /s "\\?\D:\bad\folder\path "

example: rd /s "\\?\D:\Sharedata\folder1\folder2 "
- note the space after folder2 as per the space in the folder name.
- Obviously D: is the drive that has the folder on it.



沒有留言: