ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Solved Windows file length limit 2008 R2 > 2012 R2

    IT Discussion
    4
    8
    1.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      LAH3385
      last edited by LAH3385

      So I am having issue with File Length limitation. Microsoft seem to pushed out a hot fix, but I could not find the download link for 2012 R2. I did find 2012 version, but it prompt stated that it is the incorrect version when use with 2012 R2. Duh..😣

      Anyone has a link to the hot fix?
      EDIT: this is the KB in question KB2891362
      0_1457301471350_upload-e3166bc0-da92-44db-90dd-cce2ea84985c

      1 Reply Last reply Reply Quote 0
      • T
        thedalton
        last edited by thedalton

        I'm not sure about the hotfix but you can get around this issue by using the substitute command. It's really similar to net use

        subst x: path

        So, if I wanted to substitute c:\longpth\toolong as a drive I would use

        Subst x: c:\longpath\toolong

        Use this command to shorten both paths and you will be all set

        edit fixed syntax

        L iroalI 2 Replies Last reply Reply Quote 0
        • L
          LAH3385 @thedalton
          last edited by

          @thedalton said:

          I'm not sure about the hotfix but you can get around this issue by using the substitute command. It's really similar to net use

          subst x:\localpath drive letter

          So, if I wanted to substitute c:\longpth\toolong as a drive I would use

          Subst c:\longpath\toolong x:

          Use this command to shorten both paths and you will be all set

          Thanks for the reply.
          The reason the file path is long is because it is under multiple level of folder structure. it is like media\photo\state\year\month... Using subst will not solve but may create more problems to users as it can easily confuse them. What I mean is using subst is equally the same as telling the users to redo all their structure tree.

          T 1 Reply Last reply Reply Quote 0
          • T
            thedalton @LAH3385
            last edited by

            @LAH3385

            Oh I see. I was assuming a file copy operation was failing due to long path names. And I messed up the syntax

            It's subst x: path

            1 Reply Last reply Reply Quote 0
            • iroalI
              iroal @thedalton
              last edited by

              @thedalton said:

              I'm not sure about the hotfix but you can get around this issue by using the substitute command. It's really similar to net use

              subst x:\localpath drive letter

              So, if I wanted to substitute c:\longpth\toolong as a drive I would use

              Subst c:\longpath\toolong x:

              Use this command to shorten both paths and you will be all set

              It's what I do when I've this problem.

              It's curious that MS programs like Robocopy can handle long paths.

              DashrenderD 1 Reply Last reply Reply Quote 0
              • DashrenderD
                Dashrender @iroal
                last edited by

                @iroal said:

                @thedalton said:

                I'm not sure about the hotfix but you can get around this issue by using the substitute command. It's really similar to net use

                subst x:\localpath drive letter

                So, if I wanted to substitute c:\longpth\toolong as a drive I would use

                Subst c:\longpath\toolong x:

                Use this command to shorten both paths and you will be all set

                It's what I do when I've this problem.

                It's curious that MS programs like Robocopy can handle long paths.

                I'm pretty sure there are long paths that even Robocopy can't handle.

                iroalI 1 Reply Last reply Reply Quote 0
                • iroalI
                  iroal @Dashrender
                  last edited by

                  @Dashrender said:

                  @iroal said:

                  @thedalton said:

                  I'm not sure about the hotfix but you can get around this issue by using the substitute command. It's really similar to net use

                  subst x:\localpath drive letter

                  So, if I wanted to substitute c:\longpth\toolong as a drive I would use

                  Subst c:\longpath\toolong x:

                  Use this command to shorten both paths and you will be all set

                  It's what I do when I've this problem.

                  It's curious that MS programs like Robocopy can handle long paths.

                  I'm pretty sure there are long paths that even Robocopy can't handle.

                  Good question.

                  I don't know the limit, I have used it for paths with more of 300 characters without problems.

                  1 Reply Last reply Reply Quote 0
                  • L
                    LAH3385
                    last edited by LAH3385

                    So in the end I use Robocopy just to get the file transfer over. Still, we cannot rename or add any other files to the same folder.

                    (space), and symbols. I have to remove the symbol temporary just to get robocopy does its job. As for spaces, you will need to put quotation between the space.

                    \Program" "Files\ instead of \Program Files\ or "Program Files"\

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post