2

This question already has an answer here:

I'm trying to do a backup on my Dropbox folder but I get the following message:

Source Path Too Long

The source file name(s) are larger than is supported by the file system. Try moving to a location which has a shorter path name, or try renaming to shorter name(s) before attempting this operation.

My Dropbox folder contains 115752 files, so I wonder if there's a way to automatically shorten the names that are too long?

I'm running on Windows 7.

marked as duplicate by LPChip, fixer1234, Pimp Juice IT, bertieb, G-Man Mar 17 '18 at 2:26

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1

Make sure you navigate to a folder within your dropbox where you want to do stuff, for example copy files out.

Now, click in the addressbar on an empty space. This should allow you to enter text in it manually and copy the address.

Clear the addressfield and type the following command in its place:

subst j: .

You may change j: to any driveletter that is not in use on your system.

After completing this command, a new drive forms. If you used j:, then the new driveletter is j:.

Go to that driveletter. You can now do anything you want because the path is no longer c:\Users\YourUsername\Dropbox... but j:...

So you don't really need to shorten the folders if its just for a backup you want to make.

The deeper you go into the folder structure, the more chance you won't run in a "path too long" kind of error. You can also repeat the process many times, changing the driveletters to unused ones.

Want to get rid of the drives, just reboot your pc. The drives are only there for the duration of that windows session. Alternatively, open a command prompt and type subst /d j: and substitude j: for the driveletter you used. If you created 3 drives, run the command 3 times, once for every driveletter.

Not the answer you're looking for? Browse other questions tagged or ask your own question.