[p4] Scripting Login

Phlip phlip2005 at gmail.com
Thu Jul 6 09:37:43 PDT 2006

Vander Werf, Bruce wrote:

> I have several scripts (MSDOS batch files) I use to manage tasks on two
> different Perforce servers. Where I get hung up is on the login. If I
> haven't logged in to a server for 12 hours, a login is required and my
> scripts fails. I haven't been able to figure out how to automate the
> login process, at least not with batch files.  Anyone have any ideas on
> this?

All my scripties just say p4.exe -P <password>

Sometimes you can set the environmental variable P4PASSWD, but that
doesn't always take.

  http://c2.com/cgi/wiki?ZeekLand  <-- NOT a blog!!

More information about the perforce-user mailing list