Skip to content

Cannot Find Long Path #5

Description

@scottkellman70

I am using your library in c# trying to rename a file path that is nearly 300 characters long.

if (path2.Length < 261)
{
QuickIOPathInfo quickIOPathInfo = new QuickIOPathInfo(pathInfo.FullName);
if(quickIOPathInfo.Exists == true)
{
QuickIOFile.Move(quickIOPathInfo.FullName, path2);
QuickIOFile.Delete(pathInfo.FullName);
}
...

While the quickIOPathInfo == true I get a n error saying it does not exist. Suggetions?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions