How to launch a .bat file in a C# windows Service project
<p>I create a C# Windows service project, then I want to run a .bat file, but I find that it does not run</p>

<pre><code>        Process pInfo = new Process();
        pInfo.StartInfo.UseShellExecute=false;
        pInfo.StartInfo.CreateNoWindow=true;
        pInfo.StartInfo.FileName =bat file name ;

        pInfo.StartInfo.RedirectStandardOutput = true;

        pInfo.Start();
</code></pre>

<p>Could anyone help me?</p>
