title: How to remove StartMenu shortcut using C#
body: <p>How can I remove a shortcut folder from Startmenu in Windows using C#, I know how to do that using this code:</p>
  
  <pre><code>    private void RemoveShortCutFolder(string folder)
      {
          folder = folder.Replace("\"  ", "");
          folder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.StartMenu), folder);
          try
          {
              if (System.IO.Directory.Exists(folder))
              {
                  System.IO.Directory.Delete(folder, true);
              }
              else
              {
              }
          }
          catch (Exception)
          {
          }
      }
  </code></pre>
  
  <p>But the problem that I need to remove one shortcut folder in ALL USERS folder, not the current logged user. Environment.SpecialFolder.StartMenu gives me the current user not all users folder.</p>
  
  <p>Any idea,</p>
  
  <p>Thanks,</p>