mirror of
https://github.com/arsenetar/send2trash.git
synced 2025-03-11 22:24:36 +00:00
By using the short path version of a file, we can manage to move long paths to the trash. Limitations: 1/ If the final short path is longer than what `SHFileOperationW` can handle, it will fail 2/ Still not able to trash long path from another drive, ie: trying to delete C:\temp\foo.txt while the script is running from D:\trash.py