I've listed all directories from C:\Users\ to a listbox.
listBox1.Items.AddRange(Directory.GetDirectories("C:\\Users\\", "*" , SearchOption.TopDirectoryOnly));
All Users in Windows have the folder \\AppData\\ but I don't want to mess with these folders because they have important files for windows, assuming a computer's guy using my software have 2 or more windows accounts, all these have \\AppData\\ folder, with first user I used to do:
listbox1.items.remove("C:\\Users\\" + Environment.UserName + "\\AppData\\")
but I don't know the others users name, there is any way to remove all AppData folders in listbox without knowing the username?