The file name or extension is too long. Can't copy
In server 2003 I am trying to copy 20gb+ data to a share on another server
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
- 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?
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
subst Q: "D:\UserShares\This is a very very long path name"
|Thread Tools||Search this Thread|
|Similar Threads for: "The file name or extension is too long. Can't copy"|
|Thread||Thread Starter||Forum||Replies||Last Post|
|cannot copy file-path too long||Sauvan||Windows XP Support||8||4 Weeks Ago 03:31 PM|
|My folder name is too long is not able to copy in windows 7||Kandarpa||Operating Systems||3||21-01-2011 04:29 PM|
|file extension?||Jack P||Windows Vista Mail||2||15-04-2009 02:59 AM|
|Error Code:C00D1199 File extension (.mp3) does not match file for||lUSTrOUSo||Windows XP Support||1||22-01-2009 07:36 PM|
|Remove File Extension Associations and Unassociate File Types in Windows Vista||Johnny||Tips & Tweaks||0||20-06-2008 12:40 PM|