Re: Problem trying to determine if a file exists using wildcard

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thank you very much. Using this method seems to have done the trick.
Thanks again.

Cheers!

On 22 Aug 2005 08:01:43 -0700, "briktal" <briktal@xxxxxxxxx> wrote:

>One thing you could do, not sure if it is the best way or not, is to
>use System.IO.Directory.GetFiles(). It takes the path to search and
>the search pattern and returns a string() containing all the files that
>match. So, you could do Directory.GetFiles(whateverpath, "*.pdf") then
>check the return value.

.



Relevant Pages

  • Re: Separate Words
    ... >> I need to convert a mixed case string into works. ... Exp: convert ... >> do the trick? ... Prev by Date: ...
    (comp.unix.shell)
  • Re: RegEx and filenames
    ... Use the System.IO.Directory.GetFiles(string, string) method. ... parameter is the path, and the second is the search pattern, which works ... just like the file system. ... Kevin Spencer ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: search pattern in access module
    ... >I'm looking for a search pattern to match call numbers in a library ... The dewey number is followed by a cutter which is alphanumeric ... > Function SubGroup(Item As String, LOCATION As String, CallNumber As ... contaiing any space characters, so you can use space as the ...
    (microsoft.public.access.queries)
  • Re: String comparison operator trouble
    ... I get a different set of warnings ... I'm not sure where it's getting "Search pattern from, ... Use of uninitialized value in string eq at -e line 1. ...
    (comp.lang.perl.misc)
  • Re: Regular Expression problem
    ... but i met this string which can't be search for) ... you want to make dot match any character, use e.g. the search pattern: ...
    (comp.lang.python)