>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only