title: Winzip process unable to zip the file from .net application
body: <p>We have a .NET application for zipping the file automatically using winzip (winzip32.exe) as a process .The process is similar to zipping a file using winzip from command line.</p>
  
  <p>We have configured a scheduler to run this application every day and it is running successfully from long time.</p>
  
  <p>Couple of days back we have got an issue and zip file was not created.
  However, I see winzip instance is created and running but zipping was not happened. 
  There are no uneven situations observed on the machine on the day of issue.</p>
  
  <p>Could you please help us what might be the problem or in what cases, process fails to zip the files.</p>
  
  <p>Code snippet for reference:</p>
  
  <pre><code>string WinzipPath = ConfigurationManager.AppSettings["WinzipPath"] ;
  System.Diagnostics.Process objProc = new System.Diagnostics.Process();
  objProc.StartInfo.FileName = WinzipPath;
      if(strPassword != "")
     {
      objProc.StartInfo.Arguments = string.Format("-min -a -en -r -s\"{0}\" {1} {2}", strPassword, strzipFilePath, strFileNames);
     }
    else
    {
     objProc.StartInfo.Arguments = string.Format("-min -a -en -r  \"{0}\" {1}", strzipFilePath, strFileNames);
    }
  
  objProc.StartInfo.RedirectStandardOutput = true;
  objProc.StartInfo.UseShellExecute = false;
  objProc.StartInfo.CreateNoWindow = true;
  objProc.Start();
  objProc.WaitForExit();
  </code></pre>
  
  <p>Thanks in advance</p>