Commit Graph

1 Commits

Author SHA1 Message Date
Mickaël Schoentgen 5d45b07cda Windows: Workaround for long paths
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
2018-02-16 14:06:43 +01:00