Author: jennifer7290 | Posted on: 10/1/2009 7:13:03 AM | Views : 299

Hi Folks,
I am looking for a programmatic way to batch resize images from a folder using irfanview command line tool (i_view.exe)
The command works in dos command prompt. But when I try to creare a .NET C# console app to run i_view32.exe as a process, I get Win#2 Exception.
Any clue how can I programmatically use irfanview to manipulate images in a batch?
Here is my code:
     ProcessStartInfo procInfo = new ProcessStartInfo(@"C:\Inetpub\wwwroot\xyz\Bin\i_view32.exe");
     procInfo.WindowStyle = ProcessWindowStyle.Minimized;

     procInfo.UseS ...

Go to the complete details ...