filesystem.getfiles问题 [英] filesystem.getfiles question
问题描述
我正在使用filesystem.getfiles - 到目前为止它正常工作*但是*
我肯定希望能够传递它,作为最后一个参数,扩展名
(复数)我正在寻找。
我认为*。exe,* .dll例如,它会工作,但它似乎不像那种语法那样。有人会纠正我的错误信息并给我一个
的方法来将多个模式传递给最后一个参数吗?
谢谢// al
I''m using filesystem.getfiles - and so far it''s working correctly *however*
I''d sure like to be able to pass it, as the last parameter, the extensions
(plural) for which I''m looking.
I assumed that "*.exe, *.dll" for example would work but it seems to not
like that syntax. Would someone correct my misinformation and give me a
way to pass more than a single pattern to that last parameter??
Thanks //al
推荐答案
" al jones" <人********** @ shotmail.com> schrieb
"al jones" <al**********@shotmail.com> schrieb
我正在使用filesystem.getfiles - 到目前为止它正常工作
*然而*我肯定能够通过它,作为最后一个
参数,我正在寻找的扩展(复数)。
我假设* .exe,*。dll例如,它会工作但似乎不喜欢那种语法。有人会纠正我的错误信息吗?
给我一种方法可以将多个模式传递给最后一个
参数??
I''m using filesystem.getfiles - and so far it''s working correctly
*however* I''d sure like to be able to pass it, as the last
parameter, the extensions (plural) for which I''m looking.
I assumed that "*.exe, *.dll" for example would work but it seems to
not like that syntax. Would someone correct my misinformation and
give me a way to pass more than a single pattern to that last
parameter??
不可能传递多个扩展。获取所有文件并过滤
通过扩展循环。
我没有看到与VB.Net语言的关系。也许其中一个框架
组是更好的地方:
microsoft.public.dotnet.framework。*
你也可以从没有VB的人那里受益。
Armin
It is not possible to pass multiple extensions. Get all files and filter
them by extension in a loop.
I don''t see the relation to the VB.Net language. Maybe one of the Framework
groups is the better place to ask:
microsoft.public.dotnet.framework.*
You''ll benefit from the none-VB''ers, too.
Armin
如果你''正在使用VB2005,
My.Computer.FileSystem.GetFiles(...)
允许你指定多种模式。
-
-C。 Moya
www.cmoya.com
If you''re using VB2005,
My.Computer.FileSystem.GetFiles(...)
Allows you to specify multiple patterns.
--
-C. Moya
www.cmoya.com
" Armin Zingler" < AZ ******* @ freenet.de>在消息中写道
"Armin Zingler" <az*******@freenet.de> wrote in message
microsoft.public.dotnet.framework。*
你也将受益于无VB的人。
microsoft.public.dotnet.framework.*
You''ll benefit from the none-VB''ers, too.
夸张讽刺你说这个...考虑到他寻求的功能AFAIK只有
可用于VB(2005)通过
My.Computer.FileSystem .GetFiles(...)
-
-C。 Moya
www.cmoya.com
这篇关于filesystem.getfiles问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!