deepakganesh78 / valluvar_kotam_3d_model

0 stars 0 forks source link

test 38 #38

Open deepakganesh78 opened 3 hours ago

deepakganesh78 commented 3 hours ago

Define the paths to your files

$file1 = "path/to/your/file1.xml" $file2 = "path/to/your/file2.xml"

Write-Host "Comparing files: $file1 and $file2"

Use fc.exe to compare the files

$result = & fc.exe $file1 $file2

Display the output with color coding

foreach ($line in $result) { if ($line -match ".*.") { Write-Host "$line" -ForegroundColor Red } elseif ($line -match ".=.") { Write-Host "$line" -ForegroundColor Yellow } else { Write-Host "$line" -ForegroundColor Green } }