Lance,
youre a genius - thx
------------------
Kind Regards
Mike
Announcement
Collapse
No announcement yet.
Folder Name wildcards (? and *)
Collapse
X
-
I would hazard a guess that you have too many levels of wildcards in the PathAndMask string.
Code:PathAndMask = CURDIR$ + "\???CME\*.*"
Code:PathAndMask = RTRIM$(CURDIR$, "\") + "\???CME"
Lance
PowerBASIC Support
mailto:[email protected][email protected]</A>
Leave a comment:
-
Folder Name wildcards (? and *)
I want to search the CURDIR$ for any folders with CME at the end of the name
For example
SP_CME
ND_CME
so i used
PathAndMask = CURDIR$ + "\???CME\*.*"
hFind = FINDFIRSTFILE(BYVAL STRPTR(PathAndMask), wfd)
This does not work.
Are wildcards only for filenames?
------------------
Kind Regards
MikeTags: None
Leave a comment: