Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: support for files/folders longer than 260/248 characters #1

Open
dhellwich opened this issue Dec 18, 2018 · 1 comment

Comments

@dhellwich
Copy link

dhellwich commented Dec 18, 2018

First of all: Great script, thanks! :)

Although Microsoft original PST Collection Tool is full of bugs (unfortunately) these PowerShell scripts are a life saver when migrating lots of PSTs to Office 365.

Unfortunately the scripts can not handle filepaths longer than 260 characters (Microsofts PST Collection Tool does support this), which in my case results in not all PSTs being found. I know this is a limitation of Windows, but still.
The following error is logged when filepaths are too large:

The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

Would it be possible to add support for long filepaths?

@D-Jeffrey
Copy link

It would use the subst command with something like https://github.com/gangstanthony/PowerShell/blob/master/fix_file_path_too_long_subst.ps1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants