Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filtering with Adir function
Message
From
07/12/1998 07:26:37
 
 
To
06/12/1998 22:00:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00164626
Message ID:
00164666
Views:
18
>Hello:
>
>I want to list all files in an array from a directory
>using the adir function and want to list all except
>those ending with .fpt? Can I do this with the Adir function?
>Any helpwould be appreciated.

Not with the ADIR() command itself. The wildcard masking used is inclusive, not exclusive. You'll have to filter out the unwanted files after returning the list with ADIR().

>
>Thanks.
>Sheena
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform