Does MS have any functionality to find files on a drive please?
Thanks.
Search or Find Files
Moderators: JRL, Dorian (MJT support)
- Dorian (MJT support)
- Automation Wizard
- Posts: 1414
- Joined: Sun Nov 03, 2002 3:19 am
Re: Search or Find Files
It is possible to do that with GetFileList, but don't forget it's not recursive. There are examples in this forum for making it recursive though, so you should be able to adapt the example below to do that.
This example finds a file named "fish.txt"
This example finds a file named "fish.txt"
Code: Select all
GetFileList>c:\0\*fis*.*,files
-
- Macro Veteran
- Posts: 260
- Joined: Fri Apr 15, 2005 8:32 am
Re: Search or Find Files
Thanks!