Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compile from batch
Message
From
23/06/2000 17:27:13
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00383993
Message ID:
00384077
Views:
34
>> 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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform