Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

PathTooLongException when running "Setup.bat" for the source build

I'm trying to run "Setup.bat" after downloading the zip file from the GitHub UnrealEngine repository, release branch (4.9). At the end of the setup, I got this error:

 Failed to download 'http://cdn.unrealengine.com/dependencies/2466157-4ecb0085873
 048178dd6d2b8872eea79/81594c92fcec0b95d7d0b47ad36aef8d2605c8b8': The specified p
 ath, file name, or both are too long. The fully qualified file name must be less
  than 260 characters, and the directory name must be less than 248 characters. (
 Press any key to continue . . .

with 1.8 MiB remaining on the download/setup. I use Windows 7 Pro x64. Anything I can do to resolve this?

Product Version: UE 4.9
more ▼

asked Sep 10 '15 at 04:46 PM in Installation & Setup

avatar image

89 8 11 19

avatar image Lock3113 Apr 07 '19 at 11:48 PM

helped me with 4.20 as well. Would be nice if Source came with a clear detailed set of instructions with some basic troubleshooting tips in a pdf. Like most software this century.

(comments are locked)
10|2000 characters needed characters left

4 answers: sort voted first

Hey joe.ds-

Running Setup.bat creates and fills a number of folders that are rooted in the same file path where Setup.bat exists. The error that you're seeing is due to the full file path from the drive root is too long. The easiest way to solve this is to move the folder that contains Setup.bat to a folder closer to the drive root and then run Setup.bat again.


Doug Wilson

more ▼

answered Sep 10 '15 at 06:00 PM

avatar image joe.ds Sep 10 '15 at 06:18 PM

I moved my "/UnrealEngine-release" folder to the "C:/ue4/" folder and ran "Setup.bat" again. This has solved my PathTooLongException.

(comments are locked)
10|2000 characters needed characters left

The error is clear, wherever your downloadig to is leading to a certain file exceeding the max limit on charactersin a path which is 255 inn windows.

Right click -> save target as -> save it to something like C:\ue\ or something so that it can be as short as possible.

Hope this helps Don't forget to accept an answer that best clears your question up or answers it so when the community finds your question in the future via search/google they know exactly what you did to fix it/get it going.

more ▼

answered Sep 10 '15 at 05:32 PM

avatar image

1.8k 67 27 137

avatar image joe.ds Sep 10 '15 at 05:37 PM

Okay, I downloaded it manually. Where exactly does the file go then? The current path "Setup.bat" is located is in "/UnrealEngine-release", but I cannot find the folder "Setup.bat" is using to download files to.

(comments are locked)
10|2000 characters needed characters left

This might be a very old post, but it just helped me with ue4.20 oculus branch - thank you!

more ▼

answered Feb 13 '19 at 03:25 PM

avatar image


(comments are locked)
10|2000 characters needed characters left

I just changed the name of the folder to be smaller and it worked through this step...

Thank you

more ▼

answered Jul 07 '18 at 04:51 AM

avatar image

6 1

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question