Click here to Skip to main content
15,905,915 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
How to get the prefetch files in list view by using c#
Posted

1 solution

Hi
Please try this



C#
string[] str = Directory.GetFiles(@"C:\Windows\prefetch");
         foreach (var x in str)
         {
             listView1.Items.Add(x);
         }
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900