Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Improving performance
Message
From
29/08/2002 11:20:41
Dave Nantais
Light speed database solutions
Ontario, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Improving performance
Miscellaneous
Thread ID:
00694966
Message ID:
00694966
Views:
44
Upon exiting a program the following command is executed on certain directories and their subdirectories

DELETE FILE THIS.NowDir + "\*.BAK"

The command executes rather slowly...


Would cycling through all file names
USING
=ADIR(laFiles, '*.BAK')

and then issuing the a delete file command on the exact file name



FOR lni = 1 to x
DELETE FILE
Next
Reply
Map
View

Click here to load this message in the networking platform