Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compile all
Message
 
 
À
17/11/2000 12:59:59
James Beerbower
James Beerbower Enterprises
Hochheim Am Main, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Divers
Thread ID:
00443107
Message ID:
00443134
Vues:
13
>>>Anyone know a clever way to compile all programs & class libs? Or perhaps someone has written a clever utility to do it? I put this under third party products because well the problem is mostly compiling third party products!
>>
>>compile *.prg
>>compile classlib *.vcx
>>
>>Is that what you want, James?
>
>No more like:
>CompileAll([root]) that goes through a directory structure and recompiles all prgs,mprs and classlibs with the appropriate extension that it can get hold off. It's one of these things a dozen people have written because once you get a new version of VFP everything has to be recompiled... I would rather be lazy and feed off the efforts of my surperiors if possible.
>parasitically yours,

Hi James,

Actually, it's not hard to write this utility. Check this thread, for example, for looping through whole drive: Coding, syntax & commands Re: How to work with files in system/hidden folders Thread #314887

You may check type (extension) of file and depending on that use Compile or compile classlib. Or better do it on directory level, e.g if it's a direcory, do cd where and two commands...
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform