This is a very basic query, but I am using perforce to create a workspace for a particular project that is deep in the depot directory. Hence, on windows I am facing a warning as to "File name ... exceeds the limit of 260 characters" I am trying to search a way to limit the folder structure to something just like : "C:\\p4\\dept.. " without the long list of folders. Is there an easy way to do this? I have come across following similar solution on : [ http://answers.perforce.com/articles/KB/3051?startURL=%2Farticles%2FKB_Article%2FSubmitting-or-Syncing-Files-with-Long-Path-Names][1]
But, cannot find out the command execution. Is there a better, easier way to do this ?
The local paths (which exceed 260 chars in your case) are composed by concatenating
To shorten the two, open Connection > Edit Current Workspace in P4V. Then
C:\\p4
) //foo/some/relative/path/to/bar
, where foo
is your Workspace name . Shorten it to something like //foo/bar
. This should produce much shorter local paths.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.