[p4] p4 command line query

Rajesh Kumar (IN4774) rajesh_kumar1 at mindtree.com
Fri Nov 21 02:26:10 PST 2008


I have following query...anybody help?
Query 1:
I am trying to pass login id and password on command line to login successfully. As per the help file...
p4 -u builder login -a
This is not passing password and its prompting...

Is there any way where I can pass uerid and password without any prompt?

Query 2:
I am writing one script file which will check p4 availabilities in system and if yes then run oen batch file and if no then prompt message.

How to check p4 installation on command line? I know "p4 info" can used but that is not useful in my script. I need to have some inputs to my script.

Rajesh Kumar| CM Build and Packaging Engineer
http://www.scmgalaxy.com<http://www.scmgalaxy.com/> | http://packaginggalaxy.com/

This message (including attachment if any) is confidential and may be privileged. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. E-mail may contain viruses. Before opening attachments please check them for viruses and defects. While MindTree Limited (MindTree) has put in place checks to minimize the risks, MindTree will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside.

Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.

MindTree reserves the right to monitor and review the content of all messages sent to or from MindTree e-mail address. Messages sent to or from this e-mail address may be stored on the MindTree e-mail system or else where.

More information about the perforce-user mailing list