Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compile from batch
Message
From
23/06/2000 15:50:43
Tom Schmick
Ohio Business Computers, Inc.
Findlay, Ohio, United States
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00383993
Message ID:
00384005
Views:
31
>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
Map
View

Click here to load this message in the networking platform