MajorGeeks Support Forums

Go Back   MajorGeeks Support Forums > ----------= PC, Desktop and Laptop Support =---------- > Software
Register FAQ Members List Calendar Mark Forums Read

Software Software such as operating systems like Windows XP, Windows Vista, Windows 7 etc., or specific programs.

Closed Thread
Thread Tools Display Modes
Old 05-27-12, 16:41
turbo2288 turbo2288 is offline
Private E-2
Join Date: May 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Long file name problem

I use Win XP. I copied some mp3 files with long file names in a directory 5 level deep to a external usb hard drive, some file names were cut short and changed and that's okay, but the main problem is why those original files were corrupted afterward [can't play or delete]?

Also is there a way to copy those files without shorten the names.
Thanks for anyone who could help explain.
Sponsored links
Old 05-29-12, 06:32
Dumb_Question Dumb_Question is offline
Staff Sergeant
Join Date: Jun 2011
Location: The Three Counties
Posts: 560
Thanks: 51
Thanked 51 Times in 51 Posts
Default Re: Long file name problem

I had a problem with copying files from one USB drive to another, some would not copy because XP thought the filename was too long, it didn't shorten the filenames though, just wouldn't copy those files between those locations - not exactly your problem I know, but here's what MadMal had to say in reply to my thread 'Copying Files', might be of some use ?:

Originally Posted by MadMal
Originally Posted by Dumb_Question
-> Nick: I don't really know what you mean, what is the 'build path', why is it relevant ? How do I change it ? Please remember I am trying to copy hundreds of files here. Isn't it the job of the O/S to do that sort of stuff anyway?
About 256 is the maximum amount of characters of a file path (build path), having long names for sub-folders and having sub-folders within sub-folders, within sub-folders (and on, and on) will take you over the 256 limit (MAX_PATH) and then Windows Explorer can't handle the folder or any files inside it. This means no deleting, copying, moving, renaming etc.
From the Microsoft Support article You cannot delete a file or a folder on an NTFS file system volume

Cause 4: Files exist in paths that are deeper than MAX_PATH characters
You may not be able to open, edit, or delete a file if there are issues with the file path.

Resolution 2: Rename or move a deep folder
Rename the folder so that the target files that are deeper than the MAX_PATH no longer exist. If you do this, start at the root folder (or any other convenient place), and then rename folders so that they have shorter names. If this step does not resolve this issue (for example, if a file is more than 128 folders deep), go to Resolution 4.
Renaming the folders to the shortest name possible is the best solution because it will give you 'room to move' in the future.

By the way, if you search the web for an answer you will find expensive shareware software that (they say) can fix this problem, I don't know if it works but I know you don't need it. I also know that many of these software like to spam forums and I am a bit surprised one hasn't spammed this thread already (or maybe they did and the Mods nuked it)
Compaq Presario S5160UK DT261A (Celeron 2.7 GHz 1.5GB RAM) - MSI MS6577 v2.1- XP/SP3
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Long file names in Windows 7 Pro Neil Jones Software 13 11-26-11 19:33
Long File Names Truncating grumpy_toad Software 10 09-01-09 04:56
Can delete file Ė File name to long deadpool7372 Software 11 03-16-05 23:10
Invalid long file name psk Software 2 11-27-03 01:47

All times are GMT -5. The time now is 00:06.

MajorGeeks.Com Menu

MajorGeeks.Com \ All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ NEW! PC Games \ System Tools \ Macintosh \ Demonews.Com \ Top Downloads

MajorGeeks.Com \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds

All content Copyright © source code Powered by vBulletin® Version 3.8.4
Copyright © 2009 vBulletin Solutions, Inc. All rights reserved.
Ad Management by RedTyger