Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WSH and Subfolders of Subfolders
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00224547
Message ID:
00224944
Vues:
16
>>Well, I don't use adir. I send the redirected output to a text file ,then create a cursor and append. Then I create a second cursor and insert the information there. It allows me to run a select and pull out files based on filesize, date, subdirectory, etc. and it seems to be very fast.
>
>That's the same manner I'm handling things with, but there are so many files it is just natural that it takes awhile. I couldn't ever get ADIR() to do what I wanted it to do, so we're not using it. The redirect process we use works, but I'm always looking for a faster way. (There are 30 to 40 drawings in a side file that are set to be "released" into a final destination folder, but before that happens, I have to look in every folder of every engineer to be sure that there aren't any other copies of the drawing floating about. I also have to check the "release" directory, which is where the drawing is ultimately headed, and make sure it hasn't been previously released. This "release" directory is split across two hard drives, and contains close to 9 gig worth of files to look thru, all in about 500 folders and subfolders.) It's a real joy, for sure!
>
>The whole process runs unattended at night and takes about 35 minutes to complete, which is really acceptable I think. However, we are in the process of making some changes in the business rules (which drawings get released into which directories, etc), so now testing our changes over and over can be really time-consuming, ergo my desire to speed it up!
>
>Thanks for the input,

Computers can never have too much ram, hard disk, or bandwidth can they?
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform