Forum Discussion

heidi_n's avatar
heidi_n
Regular Contributor
11 years ago

Path 'c:/*' is not under client's root 'C:/P4/'.

I have been working on a project suite and am trying to submit to source control and am getting this error. 



I checked, and my project is not in the 'C:/P4/'. path - however, since I can open it in TC using the path in my attachment, shouldn't I be able to add it to source control?

2 Replies

  • wsherwin's avatar
    wsherwin
    Occasional Contributor
    This may be a stab in the dark, but Windows (like DOS before it) uses the backslash as the directory delimeter; in your comment, you used the forward-slash as the delimeter.  Could that be preventing your source control software from recognizing the path?
  • Perforce clients are only aware of the client root environment.  Make sure you are trying to check in the project suite from the root directory, and not elsewhere.  C:\p4 is the client root, and if you are working in a different directory, the p4 client isn't able to work outside of the C:\p4 directory.