EDN Admin
Well-known member
Hi.
I want get list of all file in folder and get file location.
I have code for get list file
Dim di As New IO.DirectoryInfo("c:")
Dim list(1 to 100) Of String
Dim diar1 As IO.FileInfo() = di.GetFiles()
Dim dra As IO.FileInfo
For Each dra In diar1
list()=dra
Next
But i havent code of get file location.
Can do both get list file and get file location and assign in array of string.
Thanks,
View the full article
I want get list of all file in folder and get file location.
I have code for get list file
Dim di As New IO.DirectoryInfo("c:")
Dim list(1 to 100) Of String
Dim diar1 As IO.FileInfo() = di.GetFiles()
Dim dra As IO.FileInfo
For Each dra In diar1
list()=dra
Next
But i havent code of get file location.
Can do both get list file and get file location and assign in array of string.
Thanks,
View the full article