Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] Third Party Tools

Thread Tools Rate Thread Display Modes
Old 04-09-2004, 12:24 PM
mwthomas mwthomas is online now
Registered User
Join Date: 02-19-2004
Posts: 4
Question WinDiff

I'm trying to create a Command task to run windiff and save a report to disk.

I've installed WinDiff to C:\Program Files\WinDiff

Here's the command that I'm using. THis works from the command line, but not from VBP.

C:\WINDOWS\system32\cmd.exe /C "C:\Program Files\WinDiff\WinDiff.exe" "C:\Disk Images\RADMS_2x\Current" "C:\Disk Images\RADMS_2x\Current\..\Previous" -Slrdx "C:\Code\Visual Build Projects\Master_2x\Diff.txt

The error I'm geting in the output window when testing this step is:

Building project step 'New Step'...

Process completed with exit code 1
Step 'New Step' failed
Build ended.

Does anyone have any hints on what I'm doing wrong?

Reply With Quote
Old 04-12-2004, 09:00 AM
kinook kinook is online now
Join Date: 03-06-2001
Location: Colorado
Posts: 5,720
First, you don't need to run windiff under the command shell (C:\WINDOWS\system32\cmd.exe /C), but I wouldn't expect that to make a difference on the exitcode. Most likely, windiff is returning a non-zero exitcode for this call in both scenarios, and you're just not checking it when running from the command-line. You can either add value that as a success exitcode or mark the step to ignore failure if you don't want the build to stop.
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

All times are GMT -5. The time now is 07:24 PM.

Copyright 1999-2019 Kinook Software, Inc.