Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid subscript reference
Message
From
30/11/2006 15:25:58
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01173721
Message ID:
01173860
Views:
10
>>>Anyway, looks like I have to use a different approach. I don't really want to use FileScriptingObject because it could be slower and I'm not sure it allows to specify a mask.
>>>
>>>Do you or somebody have a suggestion for me?
>>
>>Couldn't you use sys(2000)? It allows mask...
>
>I've tried ?sys(2000,"t:\jpg\*g*.*") and it returned 654.jpg, which is wrong.

You shouldn't use "*" like that

you did *g*.* it brings all files

you can:

?sys(2000,"t:\jpg\*g.jpg")

or

?sys(2000,"t:\jpg\*g??.jpg")

or

?sys(2000,"t:\jpg\*g.*")

or

?sys(2000,"t:\jpg\g*.*")
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform