Data transfer longer than 256 characters

Posted on 2007-10-05
Last Modified: 2010-05-18
Hi Guys
Does anyone know the best way to transfer data between servers (w3k and 2000) that have file lengths longer than 256 characters (including file path). Either built in or 3rd party?

Question by:Netexperts
    LVL 1

    Expert Comment

    I have run into this problem before I got around it by sharing a folder deeper into the tree and performing the copy operation from a mapped drive to that share.

    Hope this helps
    LVL 1

    Author Comment

    That's fine but we have entire drives of data to copy accross (around 200 - 300 GB) each. We've been using Syncback to copy the data but this doesn't handle excessive filenames. We're trying to find a very simple programme to enable us to copy this amount of data from our old drives onto new ones.

    I think the solution may lie in a 3rd party app.
    LVL 3

    Accepted Solution

    The latest version of Robocopy (XP010) handles filenames longer than 256 characters.

    It's free - downloadable as part of the Windows 2003 Resource Kit:

    It's a command line program, which works great in batch files, like so:

    robocopy source destination r:1 w:1

    r:w = retry read once and w:1 retry write once, i think. It also has other options like /sec or /copyall which copy NTFS permissions. /256 will turn OFF the longer-than-256-char support.

    Robocopy runs on anything later than NT4, i think - if all else fails you may need to run it from an XP machine with source as one server and destination as the other.
    LVL 3

    Expert Comment

    I just realised i did the switches wrong - /r:1 and /w:1 need the / in front. However, if you just leave them off it will still work fine...

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip is around source server preparation. No migration is an easy migration, there is a…
    Know what services you can and cannot, should and should not combine on your server.
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now