This queue is for tickets about the File-Path CPAN distribution.

Report information
The Basics

RICHE [...]
bram.stappers [...]

(no value)
Broken in:
(no value)
Fixed in:

Subject: Add support for (removing) long path names (rmtree) on Windows
Date: Thu, 11 Jun 2015 11:56:35 +0200
From: Bram Stappers <>
Dear File-Path maintainer(s),

Thank you for providing such a fine module!

I am using Perl on Windows and have a problem with removing files with long path names with rmtree. The problem is described here:

When trying to remove file paths with a name that exceeds the MAX_PATH the removal fails. Subsequently, the parent directory can obviously not be removed since it is not empty.

I understand that this is not a File-Path issue per se since the problem goes all the way down to 'unlink' (and perhaps 'rmdir') of Perl itself.

Apparently, there is a module ( that offers support for this in the form of 'unlinkL' and 'rmdirL' functions.

It would be really nice if File-Path could use the functions above on Windows.

I have attached the relevant Perl/File-Path version information. I am using (ActiveState) Perl on Windows XP and Windows 7 (but I would like it to work on any Windows system with XP or later).

Let me know if you require more information.

Regards, Bram

Message body is not shown because sender requested not to inline it.

Resolved as duplicate per comments.
Subject: Re: [ #105169] Add support for (removing) long path names (rmtree) on Windows
Date: Mon, 29 Jun 2015 09:41:59 +0200
From: Bram Stappers <>
Hello Richard,

Thank you for your reply and for fixing this issue!

However, it is not clear to me which ticket this is a duplicate of. Can you please give me a pointer to the other ticket?

Thank you! Regards, Bram

On Fri, Jun 26, 2015 at 5:56 PM, Richard Elberger via RT <> wrote:
Show quoted text
<URL: >

Resolved as duplicate per comments.

This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with to