DirectoryInfo – 青春部落,流年似水 http://www.youthtribe.com 青春是一场远行,总记不起来时的路。 Sun, 19 Jan 2014 15:26:38 +0000 zh-CN hourly 1 https://wordpress.org/?v=6.1.7 DirectoryInfo – 青春部落,流年似水 http://www.youthtribe.com/archives/1044 http://www.youthtribe.com/archives/1044#respond Tue, 24 Dec 2013 03:05:25 +0000 http://www.youthtribe.com/?p=1044 Dim DirInfo As DirectoryInfo = New DirectoryInfo(sPath) Dim FInfo() As FileInfo FInfo = DirInfo.GetFiles Dim F(FInfo.Length) As String Dim tmpFInfo As FileInfo Dim i As Integer = 0 For Each tmpFInfo In FInfo F(i) = tmpFInfo.Name MsgBox(F(i)) Next

vb实现查找某一文件夹下所有的文件
sPath是指定的文件夹路径

]]>
http://www.youthtribe.com/archives/1044/feed 0