[Mono-dev] Re: Error :: Cannot Find the file specified.

conn intel connintel at gmail.com
Thu Apr 13 08:20:53 EDT 2006


Hello friends,

Few updates :

When i am compiling the following program it works ::

using System;
class HelloWorld
{
    public static void Main()
    {
        Console.WriteLine("Hello World !");
        System.Diagnostics.Process.Start("echo world");
    }
}

But when i am using the same above System.Diagnostics.Process.Start()
function it gives me the following error :

System.ComponentModel.Win32Exception: Cannot find the specified file
in <0x00185> System.Diagnostics.Process:Start_shell
(System.Diagnostics.ProcessStartInfo startInfo,
System.Diagnostics.Process process)
in <0x0006e> System.Diagnostics.Process:Start_common
(System.Diagnostics.ProcessStartInfo startInfo,
System.Diagnostics.Process process)
in <0x0002e> System.Diagnostics.Process:Start
(System.Diagnostics.ProcessStartInfo startInfo)
in <0x00022> System.Diagnostics.Process:Start (System.String fileName)

So please guide me where i am wrong.

Thank You in Advance.

Have a NIce time and good day ahead..
Regards,
Ankur.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060413/44fbbc7e/attachment.html 


More information about the Mono-devel-list mailing list