Results 1 to 4 of 4

Thread: The file name or extension is too long. Can't copy

  1. #1
    Johan Guest

    The file name or extension is too long. Can't copy

    Good day

    In server 2003 I am trying to copy 20gb+ data to a share on another server
    2003.
    After copying, I want to delete the files from the source to free up space
    on the first server 2003.

    When I start copying I get the error "Cannot remove folder xxx: The file
    name or extension is too long".

    ["xxx" above is a name that keeps changing depending what I am trying to
    copy...]

    - How do I get these files copied?
    - Should I change filenames? We are talking of 1000's of files ad folders.
    - Trying subfolders a little deeper don't work either.

    I also tried google search for solutions, utils such as xxcopy and xcopy
    which didn't work.

    Can you please help?

    Jo

  2. #2
    Johan Guest

    RE: The file name or extension is too long. Can't copy

    I almost forgot. I am doing all of this via remote desktop and mstsc. That
    wouldn't have anythng to do with it right?

  3. #3
    Pegasus \(MVP\) Guest

    Re: The file name or extension is too long. Can't copy

    You need to resolve this problem in two ways:

    a) Educate your users to put their information into their
    files, not into their file or folder names.

    b) Shorten the offending file names. You access deep folders by
    setting up a share or a substituted drive that points into the middle
    of an excessively long path, e.g. like so:

    net use Q: "\\%ComputerName\D$\UserShares\This is a very very long path
    name"
    or
    subst Q: "D:\UserShares\This is a very very long path name"

  4. #4
    Johan Guest

    Re: The file name or extension is too long. Can't copy

    Thank you..........

Similar Threads

  1. cannot copy file-path too long
    By Sauvan in forum Windows XP Support
    Replies: 8
    Last Post: 31-12-2014, 03:31 PM
  2. My folder name is too long is not able to copy in windows 7
    By Kandarpa in forum Operating Systems
    Replies: 3
    Last Post: 21-01-2011, 04:29 PM
  3. file extension?
    By Jack P in forum Windows Vista Mail
    Replies: 2
    Last Post: 15-04-2009, 01:59 AM
  4. Replies: 1
    Last Post: 22-01-2009, 07:36 PM
  5. Replies: 0
    Last Post: 20-06-2008, 11:40 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,639,304.54095 seconds with 18 queries