Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find File Differences
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
01291456
Message ID:
01291650
Vues:
19
>>I have not updated these files on the UT for a while now -- was not aware of a setup problem. But the uploaded files is a GUI based solution without the source.
>>
>>I have made a number of changes/enhancements and bug fixes. Have been running them now on my system to test and try and catch the bugs before uploading another release. Also, I will probably pursue releasing on VFPx next instead of here on UT.
>>
>>What are you specifically trying to do? I have the main comparison as a prg based program that determines the differences.
>
>
>I want to compare 2 text files for differences. Preferably I would like something where I pass in the full path and
>names of thhe two files and have the process compare them. It would be really nice if some kind of difference listing
>or array can be produced.

For simple stuff I use a freeware package called EXAMDIFF (http://www.prestosoft.com/edp_examdiff.asp)
which compares text files and throws the differences onto the screen. The output is similar to the file comparison tool which comes with SourceSafe. It's not fancy but it suits my needs. The utility I use to invoke it is
PARAMETERS lcProg1,lcProg2

IF VARTYPE(lcProg1) <> "C"
     lcProg1 = GETFILE("prg",'',"",0,"Select original version")
ENDIF

IF VARTYPE(lcProg2) <> "C"
     lcProg2 = GETFILE("prg",'',"",0,"Select current version")
ENDIF

oWsh = NEWOBJECT('wscript.shell')

oWsh.Run('"c:\program files\examdiff\examdiff.exe" "'+lcprog1 + '" "' + lcProg2+'"',1,.T.)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform