Backing up to an external SSD; file names too long?

Hello, I've been trying for years, without success, to back up my vast amount of data from my PC (now running Windows 11; almost 8 TB full hard drive) to an external hard drive. Unfortunately, it never fully works, as I always get the message "The file name is too long for the destination folder. Shorten the file name(s) and repeat the operation, or use a different location with a shorter path." This isn't so easy, however, because shortening the names doesn't always help, and also because it affects hundreds of folders (and subfolders), as well as presumably thousands of files. I've found supposed solutions involving registry intervention, but to be honest, that's too risky for me. The external hard drive formats I used were NTFS and exFAT. Isn't there a hard drive format that supports unlimited folder names? What can I do? Thanks and regards, Ivo

(2 votes)
Loading...

Similar Posts

Subscribe
Notify of
21 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
VINC767
1 year ago

https://www.adamfowlerit.com/2016/10/windows-max-path-now-lot-bigger/

Must make “Enable Win32 long path”. I used to. Faith Group Options is not freely accessible for “Home” Edition of Windows, but can also be made available by script. Enable setting by Registry or CMD.

Can be that you still have too many subfolders with long names, then I would recommend to customize the folder names if there are not too many or just boot into a Linux Live Distro via USB stick and just push the data over there.

If you don’t have access to the hard drive in the Linux Distro, then you need to shut down Windows correctly again. Evtl., for example, it’s only in deep-sleep. If you need to do “restart” and boot directly before restarting the Linux Distro, then it will drive Windows down properly and you can access the hard drive.

Use Ultimate Boot CD Live Linux for anything because I can boot it directly from the USB stick without having to install anything on the actual PC.

VINC767
1 year ago
Reply to  IvanR1

Give me a divorce if you need help.

Alternatively, there are other software that is better than drag&Drop from Windows

VINC767
1 year ago
Reply to  IvanR1

Do not copy to the Linux Distro, just use it as an operating system in it from one hard drive to the other.

However, what I have to say when you copy the complete path, you later have the problem in Windows that you can’t copy it anywhere else. Talk the same problem as now. If you just want to leave it where you copy it now doesn’t matter.

Alternatively, you can also shorten the subfolder names or if the individual data names are, then there is also software where you can quickly rename multiple files at the same time.

gonzo1233
1 year ago
Reply to  VINC767

Hello vinc, you have good tips.

To completely shut down Windows, so the files are closed, the Shift button can be held during the click on Downloads.

VINC767
1 year ago
Reply to  gonzo1233

Right. I’ve heard that before. Thank you for commenting:)

Morfi655
1 year ago

I would typify that this is a Windows problem, the modern file systems can all be more.

Just search for tools with which too long paths can be found and shortened. But often the file names are the problem rather than the folder paths.

Addition like this can happen in the specific example: Sort a long path to another level (here iteratively with copies of a folder, but also if you move a complete folder structure, for example, according to C:\Sicherung\Personal Document\2024_03_13_complete, Windows does not notice that the overall path of the substructure may be too long)

whatamess
1 year ago

This is not on the hard drive but is a restriction in the operating system. The reason is the downward compatibility to Win32 applications. As far as I know, this can only be cancelled by an intervention in the registry or a group policy. Here is an article by Microsoft on this: Maximum path length.

Unfortunately, I can’t say whether the impact on the function of older programs has. I didn’t test it myself.

wrglbrmpft
1 year ago

Well, you can do it in different ways. Either with a backup program like Acronis True Image or with another file manager like Total Commander.

If you get the Shareware Total Commander https://www.ghisler.com/english.htm install, then you can copy your data. You will then get the warning that the names are too long, but then you just click on “maintain all” and can finally complete your unsuccessfully attempted backup for years.

Screenshot from Total Commander:

BeamerBen
1 year ago

NTFS can also longer file paths, but Windows maintains this limit for compatibility reasons.

You’re right, that’s not really contemporary. Longer file paths are possible with other operating systems, not unlimited but significantly longer.

The option can be turned off, but you just need a registry entry (in the Home variant).

Some workarounds work by mapping a drive letter to a folder, so you can make the path shorter because from D:\Workspace\Project_a\ zb. Only z:\.

BeamerBen
1 year ago
Reply to  IvanR1

This goes through Group Policies (can you call directly on Windows + R and then enter gpedit.msc).

Computer Configuration -> Administrative Template -> System -> Filesystem -> Enable Win32 long paths

Have my computer in English, don’t know if it’s different in German, but you should be able to find it.

So almost the same as the registry, but you can simply double-click and set to Enabled, you don’t have to create a new value and something like that. A little easier.

Jensen1970
1 year ago

Your hard drive is real?

Morfi655
1 year ago
Reply to  Jensen1970

Certainly. So messes can happen if you rename or move a folder tree on lower levels. Since not all subdirectories are rewritten, Windoof does not complain. Only after that you can’t work properly.

Jensen1970
1 year ago
Reply to  IvanR1

Very good.