title: "This application could not be started." Only when the file is in system32 directory
body: <p>I wrote a little piece of software that downloads file from internet, that is, nothing more. My intentions are to use it thru the command line...
  It works great, but when I place it in C:\Windows\System32\ to actually use it from everywhere I want it doesn't work now... It didn't throw an exception... it just show me this messagebox - <a href="http://i.imgur.com/a7rlMgo.png">http://i.imgur.com/a7rlMgo.png</a> and if I click "Yes" it opens this page in the browser - <a href="http://support.microsoft.com/kb/2715633/en-us">http://support.microsoft.com/kb/2715633/en-us</a></p>
  
  <p>What should I do to get it working?</p>
  
  <p>The code if it is of any use.. :  </p>
  
  <pre><code>private const string InsufficientParametersMessage = "Insufficient Parameters...";
  
  private static string[] _arguments;
  
  static void Main(string[] args)
  {
      _arguments = args;
  
      TakeCommand();
  
      Environment.Exit(0);
  }
  
  private static void TakeCommand()
  {
      if (_arguments.Length &lt; 1)
      {
          Console.WriteLine(InsufficientParametersMessage);
      }
      else if (_arguments.Length == 1)
      {
          DownloadFile(_arguments[0]);
      }
      else if (_arguments.Length &gt; 1)
      {
          DownloadFile(_arguments[0], _arguments[1]);
      }
  }
  
  private static void DownloadFile(string url)
  {
      DownloadFile(url, Path.GetFileName(url));
  }
  
  private static void DownloadFile(string url, string localFileName)
  {
      WebClient client = new WebClient();
  
      if (File.Exists(localFileName))
      {
          File.Delete(localFileName);
      }
  
      try
      {
          client.DownloadFile(url, localFileName);
          Console.WriteLine("Done...");
      }
      catch (Exception exception)
      {
          Console.WriteLine(exception.Message);
      }
  }
  </code></pre>