Hi!
Define the main module (starting mosdule) of the EXE file in the project to be a PRG file. Put the parameters statement as the first line of the PRG. Receive as many parameters as possible, I guess there could be only 32 parameters. If EXE ran with command-line parameter, appropriate parameter of the main PRG will get value of each
element of the parameters string. Elements are much like command-line switches separated by space. You can check if certain parameter in PRG got value in such case using "vartype(ParameterN)=='C'" expression.
HTH.
>Does anyone know how to send a parameter to a compiled executable (EXE) from the DOS command line or a Batch file or command window, etc...thanks,
>-Irv.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.