marceln/SuperDelete

ERROR: Failed to remove reparse point

RickCopithorne opened this issue · 3 comments

Trying to use these to delete some unwanted NAS files copied onto a clean Windows 2016 partition. Files over the 256 character limit have been a pain. When I try to run this command against large directories or files i get the error

Hey,

Can you please run it with --printStackTrace and post the entire error here?

Marcel

Error: System.ComponentModel.Win32Exception (0x80004005): The directory name is invalid. Failed to remove reparse point

at SuperDelete.Internal.FileDeleter.ThrowLastErrorException(Int32 error, String message, Object[] args)
at SuperDelete.Internal.FileDeleter.DeleteFolder(String folderPath, Boolean bypassAclCheck, FileAttributes parentAttributes)
at SuperDelete.Internal.FileDeleter.DeleteFolder(String folderPath, Boolean bypassAclCheck, FileAttributes parentAttributes)
at SuperDelete.Internal.FileDeleter.DeleteFolder(String folderPath, Boolean bypassAclCheck, FileAttributes parentAttributes)
at SuperDelete.Internal.FileDeleter.DeleteFolder(String folderPath, Boolean bypassAclCheck, FileAttributes parentAttributes)
at SuperDelete.Internal.FileDeleter.DeleteFolder(String folderPath, Boolean bypassAclCheck, FileAttributes parentAttributes)
at SuperDelete.Internal.FileDeleter.DeleteFolder(String folderPath, Boolean bypassAclCheck, FileAttributes parentAttributes)
at SuperDelete.Internal.FileDeleter.DeleteFolder(String folderPath, Boolean bypassAclCheck, FileAttributes parentAttributes)
at SuperDelete.Program.Main(String[] args)
Done. Deleted 0 files and 0 folders in 00:00:00.

I had to remove the output showing path name as it contained sensitive info,here is a visual blacked out.
SuperDelError