Jump to content

file path too long help needed

path name

  • Please log in to reply
1 reply to this topic

#1 patrickwank



  • Members
  • Pip
  • 1 posts

Posted 01 March 2019 - 04:35 PM

how can i fix file path problem.

have any limitation for path character?
any body can explain me>>>>

#2 Sambwise


    Advanced Member

  • Members
  • PipPipPip
  • 800 posts

Posted 03 March 2019 - 08:25 PM

Most tools on Windows (including Explorer, last time I tested it, and Perforce) only support paths up to something like 259 characters long.  If you do something that wants to create a longer path, it'll fail.

If you're trying to sync a file to a workspace on Windows and the path is too long, you have two options:

1) Rename depot files to make the depot paths shorter (i.e. give your files shorter names, make your directory tree less deep, or both)
2) Adjust the client root/view to make the local paths shorter (i.e. make the client root something shorter, adjust your view to map a deeper subset of the depot directly to the root, or both)

If you were to post an example of a case where you're hitting this error I could probably give some more actionable suggestions, but that's the general principle.  Good luck!  :)

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users