如何从vb.net中的文件夹中读取文件名

问题描述:

我在c路径中有文件夹。我想用vb.net读取文件名。



C文件夹文件如下



AFF_Files

EFA_Files



i想要阅读AFF和EFA名称。



为此我怎么能在vb.net上做。



问候,

Narasiman P.

I have folder in c path. i want to read the file name using vb.net.

C folder files as follows

AFF_Files
EFA_Files

i want to read the AFF and EFA name.

For that how can i do in vb.net.

Regards,
Narasiman P.

请参阅此处: Directory.GetFiles [ ^ ]

使用不同的搜索模式调用两次。
See here: Directory.GetFiles[^]
Call it twice, with different search patterns.