Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的周末是循环,但是我需要一个用于今天的目的。有人知道我如何将父目录中的所有文件夹名称循环到变量吗?
我需要使用 vb.net 来做到这一点
Dim folders As String() = IO.Directory.GetDirectories("c:\your\starting\directory\") For Each folder As String In folders 'do something Next