Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compile from batch
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00383993
Message ID:
00384077
Vues:
41
>> All I need to do is compile a PRG into a FXP. Even if you could write a >>program that compiles another (which I don't think you can),

>Ohhh, yes, you can. I used to do it all the time, making a big batch compiler >PRG.

I think it's in the run-time that you can't compile.


>> then I'd have to >always have that program accessable to the BAT file.

>Nope, good ol' ECHO can save the day. For instance:

>echo COMPILE MyProg.prg > compiler.prg
>rem Next line uses double ">" to concatenate
>echo COMPILE MyOtherPrg.prg >> compiler.prg
>vfp6.exe compiler.prg

What does "echo" do? I don't understand what your snippet does.

Anyway, George's WSH file does it great, so problem solved. :)

Thanks,

Michelle
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform