>The problem is there are only 2 parameters you can pass from command line -- output file name and recompile. My guess is he wants to automate this process without opening the PM . Maybe he wants to do programmatically what the PM does visually. The only way you can do that is with the code I posted earlier.
>
*snip*
Hi Mark,
True enough.
But the original message (and the subsequent replies) only talk about automating the ouptput filename (path+filename) parameter. Since cOuptputName is passed by reference to the event, he could prepend the directory to it everytime and simply return, letting VFP handle creating the EXE in the new directory.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao