My brain is aging and coding all of this so it works seems too difficult. Initially I started with question marks in the positions just before the dot but it didn't work. Once I got a flash and realized that the skeleton, *(1).*, works I got the job done in a couple of minutes.

----- Original Message ----- From: "Jean MAURICE" <[email protected]>
To: <[email protected]>
Sent: Wednesday, September 26, 2012 3:24 AM
Subject: Re: [NT] Wild cards in file names


may be that SYS(2000) can help you :

Returns the name of the first file in alphabetic order by file name and extension, that matches a file name skeleton.


SYS(2000,Skeleton  [, 1])


       Parameters

Skeleton

   Specifies the file name skeleton. The file skeleton can contain the
   wildcards ? and *.

1

   Returns the name of the next matching file.


 Collapse imageReturn Value

Character


 Collapse imageRemarks

The empty string is returned if a matching file can't be found.


 Collapse imageExample




? SYS(2000,'FOX.*')
? SYS(2000,'FOX.*',1)




--- StripMime Report -- processed MIME parts ---
multipart/alternative
 text/plain (text body -- kept)
 text/html
---

[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/B99B824798C44D559C7FFAFD6A1A8784@dual
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to