Windows 10: Cannot Open the file because the file path is more than 218 characters

Discus and support Cannot Open the file because the file path is more than 218 characters in Windows 10 Network and Sharing to solve the problem; Hi All, Do we have any solution for this issue? Cannot Open the file because the file path is more than 218 characters. We are unable to open... Discussion in 'Windows 10 Network and Sharing' started by Mani Sam, Jan 29, 2020.

  1. Mani Sam Win User

    Cannot Open the file because the file path is more than 218 characters


    Hi All,


    Do we have any solution for this issue?


    Cannot Open the file because the file path is more than 218 characters.


    We are unable to open any files from the long shared path in Windows 10 and Windows 2012 server. We tried below options to resolve this problem but still same issue.



    Fix 1 - Updating Registry Key

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem - “LongPathsEnabled” Value Changing 0 to 1



    Fix 2 – Local Group Policy Update



    Computer Configuration > Administrative Templates > System > Filesystem - Enable Win32 long path Enabled



    Fix 3 – Enable disable8dot3 on volume



    https://www.pelegit.co.il/enable-long-path-windows-server-2016/


    Please let me know if we have any other fix for this issue other than below.

    • Rename the file so that it has a shorter name.
    • Rename one or more folders that contain the file so that they have shorter names.
    • Move the file to a folder with a shorter path name.


    Thanks,

    Mani L

    :)
     
    Mani Sam, Jan 29, 2020
    #1
  2. adnanj85 Win User

    SharePoint: Windows File Path Limit

    I have found that syncing folders to SharePoint one-drive limits the file path character limit to 218 characters and it counts "space" as equal to 3 characters, encoded to %20. Please confirm if any other special character is encoded and will be taking more
    space which eventually means the actual path is less than 218 characters.

    Other Info:

    OS: Windows 10 Pro

    Office 365/SharePoint Online.

    One-Drive: Build 18.151.0729.0012
     
    adnanj85, Jan 29, 2020
    #2
  3. slozomby Win User
    Recent File List

    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file1

    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file2
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file3
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file4
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file5
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file6
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file7
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file8
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file9
    ...

    you get the idea. ( too lazy to put it in a for loop and test it.

    or just open regedit and remove all the fileX from that key.
     
    slozomby, Jan 29, 2020
    #3
  4. Ketxxx Win User

    Cannot Open the file because the file path is more than 218 characters

    opening .dds files with gimp

    Simply, HOW? I got the DDS plugin but the POS wont open DDS files still. Can someone give me a step-by-step rundown of how to install the DDS plugin for gimp so I know if I'm missing something?
     
    Ketxxx, Jan 29, 2020
    #4
Thema:

Cannot Open the file because the file path is more than 218 characters

Loading...
  1. Cannot Open the file because the file path is more than 218 characters - Similar Threads - Cannot Open file

  2. Open File dialog cannot open multiple files if some but not all of them have paths that...

    in Windows 10 Network and Sharing
    Open File dialog cannot open multiple files if some but not all of them have paths that...: More of a bug report than a question... The native Open File dialog fails with the following error message when you try to open multiple files and some but not all of them have paths that exceed the max path length. "You can choose multiple items only if they are all...
  3. Folder scan is of much more files than files in folder

    in AntiVirus, Firewalls and System Security
    Folder scan is of much more files than files in folder: I am having a problem scanning files. When I scan the download folder there are 346 files scanned. There are really only four files in the folder, when I scan them individually the first .pdf file scans as two files and the other three files scan as one file each. Is there...
  4. How to extend file path characters maximum limit manually?

    in Windows 10 Network and Sharing
    How to extend file path characters maximum limit manually?: I am trying to make a clone from mercurial repository. But, unfortunately it is refusing to clone because of the length of the file path. It's displaying as below, abort: The filename or extension is too long. After trying the solutions in different articles, I...
  5. cannot open file

    in Windows 10 Network and Sharing
    cannot open file: I am facing a new problem. why not this file open and I try several time. can anyone have this solution [ATTACH] https://answers.microsoft.com/en-us/windows/forum/all/cannot-open-file/384d2e97-4abc-4947-ade5-14810131338e"
  6. Highlight more than one pic. or file

    in Windows 10 Network and Sharing
    Highlight more than one pic. or file: Before, as in week before last I was able, to have a small box at the top left corner of pictures, or files so could check more than one to move or copy, now I have to hold down the ctrl. button & it is a pain. I do use the ctrl lots of times, but it makes it easier if I had...
  7. Softwaredistribution.bak files pathnames are longer than 255 characters

    in Windows 10 Installation and Upgrade
    Softwaredistribution.bak files pathnames are longer than 255 characters: Hi, Windows updates seems to be creating file pathnames greater than 255 characters on my laptop running Windows 10 Home 64-bit . They are in the c:\windows\Softwaredistribution.bak\. . . folder . Some of the files' pathnames are coming in at 281 characters! Surely...
  8. Cannot open files

    in Windows 10 Network and Sharing
    Cannot open files: I cannot open files because there is no app that should perform the action. How to install this app or create an association in the default apps setting page? https://answers.microsoft.com/en-us/windows/forum/all/cannot-open-files/68dd7bcc-b8cc-4fb8-a249-e680ef9516b3"
  9. Can Wiin10 have a path and file name longer than 256 characters?

    in Windows 10 Support
    Can Wiin10 have a path and file name longer than 256 characters?: I was under the impression that this was a feature that was added to one of the updates on Windows 10. Enable long file name support in Windows 10 | IT Pro How come I'm still gettng an error when copying a file deep down a directory path to another drive? eg. copy...
  10. Cannot open files

    in Windows 10 Support
    Cannot open files: Hi- Used Laplink Pcmover Pro to transfer my files from my old computer to the new. Problem is that now I can't open pictures, documents, music on the new computer. Keep getting message that I need permission to open this file. 41881

Users found this page by searching for:

  1. Cannot open the file because the file path is more than 218 characters.

    ,
  2. cant open the file because the path is more

    ,
  3. cannot open the file because the path

    ,
  4. cannot open the file because the path is more than 218 characters,
  5. cannot open the file because the file path is more than 218 characters,
  6. cannot open this file because the file path is more than 218 characters