When using the * wildcard with FileFindFirst, it does not seem to work if the syntax was "test*.txt" but will work for "*.txt". How do I get it to work in the first instance? Thanks.
Steve Boey
Thu Nov 16, 2000 5:14 pm
SysOp Site Admin
Joined: 26 Nov 2006 Posts: 7948
Re: Using masks
It should work with "test*.txt" as long as you have at least one file that match this mask.
: Hi there,
: When using the * wildcard with FileFindFirst, it does not seem to work if the : syntax was "test*.txt" but will work for "*.txt". How : do I get it to work in the first instance? Thanks.
: Steve Boey
Thu Nov 16, 2000 6:08 pm
Steve Boey
Joined: 16 Nov 2000 Posts: 2
Re: Using masks
Should it matter that I'm putting in the full path? i.e. d:\folder\test*.txt
SB
: It should work with "test*.txt" as long as you have at least one : file that match this mask.
Thu Nov 16, 2000 6:22 pm
SysOp Site Admin
Joined: 26 Nov 2006 Posts: 7948
Re: Using masks
Sure, it is. your forget about \t (see Special ASCII characters in the help)
Change your script to d:\\folder\\test*.txt and it will be fine.
: Should it matter that I'm putting in the full path? : i.e. d:\folder\test*.txt
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum