[p4] unable to change repository path for p4s on windows

Stephen Vance steve at vance.com
Sat Jul 11 05:47:09 PDT 2009


To change the values for a service, use

p4 set -S <servicename> P4ROOT=<path>

You will need to manually move your database files if you want to keep 
what you have. Of course, it won't take effect until you stop and start 
the service.

Steve

Shane Mcpherson wrote:
> I am evaluating the perforce on windows.
> I tried to set the repostory location using the P4ROOT environenet variable (I set both user and systems variables).
> I only seems to work if I set the variiables to the location I want before installing the service.
> If I try changing P4ROOT after installation it seems to have no effect. I tried both restarting the service and rebooting.
> I also searched the registry for keys that might affect this. Could it be because I am using in the limited 2 user mode(i.e. I don't have a license installed) ?
>
>
>       
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
>   

-- 
Stephen Vance
www.vance.com



More information about the perforce-user mailing list