Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List of files in directory except for certain files
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00738389
Message ID:
00738441
Views:
14
>You can use CopyFile for file by file copying.

I know, but in this case I have to do it for all three extensions (CDX, DBF, FPT). Not a big deal, though. And then I have to delete files, because in reality I have to move files. And also this case should be executed only once if the main file doesn't exist (in all other cases I will append data to existing file).

Anyway, thanks a lot again.

>>Yep, so I already choose the first approach :)
>>
>>Right now I'm working on Copy File part :)
>>
>>>You cand use ADEL() and DIMENSION() but you'll have to process array from the last row to the first.
>>>
>>>>Hi everybody,
>>>>
>>>>I need to create an array of DBF files, except for files which end on _DNP. Should I loop through array created by adir and create a new array for files, which are not _DNP? Do you see other simpler alternatives?
>>>>
>>>>It would be nice to specify exclude mask...
>>>>
>>>>Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform