>Is it possible to compile a .prg from a DOS .bat file? I have a .bat file that puts a whole bunch of .prgs into one master .prg file. Then I go into VFP and compile the resulting .prg. It would be nice if I could make the .bat file call up VFP and compile it for me.
>
>I would have to be able to indicate somehow which version to use because .prg files are currently assigned to VFP 6 and I need this to work in 5 or 6. (There would be a different .bat file for each version)
>
>I don't know a lot about .bat files, so please forgive me if I've just asked something dumb. :)
>
>Thanks,
>
>Michelle
Hi Michelle,
You can build an exe from a command line in VFP, as in:
BUILD EXE MYEXE FROM MYPROJ where you have created a project containing your main program. You could make a 1 line PRG containing the above line and call VFP with that program as parameter.
HTH...
-Tom
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement