Results 1 to 5 of 5
  1. #1
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Dealing with pathnames > 256 bytes (SP2)

    I am wrestling with the problem of very long pathnames and thus filenames, which Windows Explorer fails miserably to handle (can't copy, rename or delete, for example).

    Does anyone know whether Xplorer2 Lite handles them (can't find any reference in their FAQ)? I shall be trying it soon. I know from the ROBOCOPY documentation that it has no problem with pathnames longer than 256 bytes.

    Is anyone aware of a utility which can list the full path of every file together with its total length?
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  2. #2
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Dealing with pathnames > 256 bytes (SP2)

    Addendum to the above - no, Xplorer2 Lite has the same problem with long pathnames as does Windows Explorer, with Rename and Delete dropping out of the menu...
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  3. #3
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,585
    Thanks
    5
    Thanked 1,059 Times in 928 Posts
    Joe

  4. #4
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Dealing with pathnames > 256 bytes (SP2)

    Joe

    Yes, quite a bit! The DOS command dir c: /s /b | sort /+256 /r > LongName.txt actually gives an error on a very long pathname, but does produce a file. I am just going to try the CutLongNames utility.

    It's really quite annoying that programs can create paths longer than 256 bytes which some Windows utilities cannot handle. Grrrrrh.
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  5. #5
    5 Star Lounger
    Join Date
    Nov 2004
    Location
    Wilmington, North Carolina, USA
    Posts
    1,196
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Dealing with pathnames > 256 bytes (SP2)

    As an FYI, Microsoft Office can't handle more than 255 characters. (I learned this when a coworker couldn't play networked videos in a powerpoint presentation).
    ____________________________
    Jeremy
    "If you spend more on coffee than on IT security, then you will be hacked. What&#39;s more, you deserve to be hacked." -Richard Clarke

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •