Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Long file names on file servers

Status
Not open for further replies.

hpsait

Technical User
Oct 7, 2010
98
ZA
What is the rule with long file names? Users are creating files and folders with long names which results giving IT endless headaches when trying to copy. Which utility handles the copy of data with long files names?
 
What is the issues regarding 255 characters limit and path is to deep always found when trying to copy data on file servers?
 
The problem is that clients like to create meaningful filenames/directory structures that can surpass the 255 char limit. This causes you grief when you try to perform any type of file operation. When I used to manage servers for an engineering firm, almost daily I had someone complain they couldn't delete or move a file. I had to essentially use the good old DOS SUBST command to assign a drive to a long directory path and then I was able to delete the underlying files.
Now as to what tools you can use for copying files with long filenames, I never had an issue using robocopy (unless I have been lucky in the past)
 
you can run dir /x at the command prompt to discover the short filename then use that in your delete command. Not ideal though but it works.

-------------------------------

If it doesn't leak oil it must be empty!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top