[p4] Changing diff programs by extension

Robert Cowham robert at vaccaperna.co.uk
Wed Oct 31 07:09:48 PST 2001


Unfortunately I can't give you a direct answer to your question, as I am not
aware of any p4win options to do what you ask.

I suggest you email support and ask them for it (or add your weight to other

Can I also take the opportunity of adding the following!

If you haven't found it already, you may be interested in P4Word which is
freely available on www.vaccaperna.co.uk/p4word which integrates MS Word and
Perforce including diffing in a similar manner to what you do now.

There is shortly going to be a version (provisionally entitled P4ForOffice)
which will integrate with Excel and PowerPoint (though not with diffing for
these two). This will be available directly from Perforce, scheduled to go
into the next release early next year.

  -----Original Message-----
  From: perforce-user-admin at perforce.com
[mailto:perforce-user-admin at perforce.com]On Behalf Of Gil Tayar
  Sent: Wednesday, October 31, 2001 06:21
  To: perforce-user at perforce.com
  Subject: [p4] Changing diff programs by extension

  Does anybody know how I can use different comparison programs by extension
in p4win?

  I've written a small script (WSH in windows) that compares 2 word
documents using words built in "compare". Now I want p4win to compare word
documents using this script, and all the others using a default differ
(BeyondCompare is what we use).

  Writing a wrapper script that checks extensions and acts accordingly does
not work, as the files sent by perforce as arguments to the diff program
oftentimes end by ".tmp" (for example, when diffing two revisions in the
revision history).

  Gil Tayar

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.perforce.com/pipermail/perforce-user/attachments/20011031/0b3df8df/attachment-0011.html>

More information about the perforce-user mailing list