Controlling a console application output

elfduck

New member
Joined
Feb 23, 2010
Messages
3
Programming Experience
Beginner
I know this is how you can retrieve the exit status of a console application:

VB.NET:
Dim CFVProcess As New System.Diagnostics.Process
CFVProcess.StartInfo.FileName = "CMD"
CFVProcess.StartInfo.Arguments = "/C CFV -T C:\Verify.sfv"
CFVProcess.Start()
CFVProcess.WaitForExit()
MsgBox(CFVProcess.ExitCode)

...But I would like to see which files failed SFV-checking when CFV checked the "Verify.sfv"-file. How? Can I somehow retrieve more specific information from a console application?

I'm thinking of writing a GUI for CFV.

-----

"cfv is a utility to both test and create .sfv, .csv, .crc, .md5(sfv-like), md5sum, bsd md5, sha1sum, and .torrent files. These files are commonly used to ensure the correct retrieval or storage of data."

Quote from: cfv @ sourceforge
 

JohnH

VB.NET Forum Moderator
Staff member
Joined
Dec 17, 2005
Messages
15,548
Location
Norway
Programming Experience
10+
Top Bottom