title: How to list files in directory C# WPF
body: <p>I need to get file list without directory name and without file extenstion</p>
  
  <p>in </p>
  
  <p>C:\ProgramData\Microsoft\Windows\Start Menu\Programs</p>
  
  <p>ex)C:\ProgramData\Microsoft\Windows\Start Menu\Programs\7-Zip\7-Zip File Manager.lnk (X)</p>
  
  <p>7-Zip File Manager                                                                (O)</p>
  
  <p>and list those files in Listbox.</p>
  
  <p>I also have to retrive icon and start program if the file name is selected in listbox.</p>
  
  <p>Like this.</p>
  
  <p><a href="http://www.c-sharpcorner.com/UploadFile/7e39ca/display-start-menu-in-windows-8/Images/Start-Menu-Windows8.jpg" rel="nofollow">http://www.c-sharpcorner.com/UploadFile/7e39ca/display-start-menu-in-windows-8/Images/Start-Menu-Windows8.jpg</a></p>
  
  <p>can anybody help me?</p>
  
  <p>Thanks.</p>