dan,
I was just directly answerig juhlars second question right before my answer:
juhlar said:
maybe it would be easier to ask how to get a batch file to pass commands to the command line of visual foxpro 9
Dan, You should perhaps read more thoroghly, what happened in the thread and how it evolved.
Juhlar already answered your question:
juhlar said:
foxcmd8 ... is part of the other application.
This most probably means juhlar doesn't know exactly what this is. It just came with some other application. And that leaves us with the next puzzle. I assume juhlar can't add more info about it.
Yes, dan, you can pass the filename of a prg to a vfpN.exe with any version of foxpro. But I stay with my previous answer: YOU DON'T DO THAT. At least not for distribution, because vfp8.exe or vfp9.exe is NOT among the files you are allowed to redistribute.
As we're talking to an obvious foxpro newbie, suggesting to do that will seem like a normal solution, but it's not a solution to redistribute foxpro, this would just be a solution for development tasks.
I also was adding to Mikes assumption:
Mike said:
I suspect FoxCmd8 is one of those compiled command window utilities, like FoxBox and vRunFox.
If juhlar thinks along the line of foxcmd8.exe being a dos prompt like "fox prompt", then he might think you can pass in a prg to run, like you can call cmd.exe and pass in a dos command.
Juhlar, it would help a lot, if you'd be more verbose about what you know and what you assume.
One thing is for sure_ Foxcmd8.exe is no native part of foxpro, neither foxpro 8 nor 9 and so we don't know what it does, what's it's role in that "other application". But if it's done in foxpro it can for sure accept vertain parameters, eg via -L switch or -C switch or other switches, but not just any parameter. If you created your bat as a variation of an already existing bat file, then show us, maybe we can recognize some of the standard switches foxpro itself and any exe compiled with foxpro supports and spot where you did go wrong. One easy mistake is to put a space after such a switch.
Nevertheless, if you stay this mysterious and short you'll never get an answer.
Bye, Olaf.