For Each folders In IO.Directory.GetDirectories("C:\Program Files") Listbox1.Items.Add(folders.ToString) Next
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)