[p4] Scripting Login

Melissa Kacher mkacher at intrinsyc.com
Thu Jul 6 07:30:13 PDT 2006

1) Give yourself a longer time out. 99999999 is good.
2) p4 login < filewithpassword.txt


From: perforce-user-bounces at perforce.com on behalf of Vander Werf, Bruce
Sent: Thu 7/6/2006 4:54 AM
To: perforce-user at perforce.com
Subject: [p4] Scripting Login

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


perforce-user mailing list  -  perforce-user at perforce.com

More information about the perforce-user mailing list