cyberbiker
Programmer
I am working on a very goofy program here. So bear with me as I ask another wierd question.
I need to have one program call another, which I believe is done from the shell.
That seems to be pretty straight forward. When that program stars executing, I need to find the command line of the program which called it.
Does command function return the 1st or second?
Ie:
The program ABC.exe is called by the command line C:\WhereAmI\ABC.exe. The path for the called program
is C:\WhatDoIDoNow\XYZ.exe.
If I call the command function as soon as XYZ.exe starts, which path does it return?
I am also having difficulties debugging this, Mostly shell does not like it when I ty to call the *.vbp unless I compile it first so I can not seem to step through both programs. I can probably work out the bugs seperately, but if any body knows a simple solution to that I would also appreciate it
Terry Terry (cyberbiker)
I need to have one program call another, which I believe is done from the shell.
That seems to be pretty straight forward. When that program stars executing, I need to find the command line of the program which called it.
Does command function return the 1st or second?
Ie:
The program ABC.exe is called by the command line C:\WhereAmI\ABC.exe. The path for the called program
is C:\WhatDoIDoNow\XYZ.exe.
If I call the command function as soon as XYZ.exe starts, which path does it return?
I am also having difficulties debugging this, Mostly shell does not like it when I ty to call the *.vbp unless I compile it first so I can not seem to step through both programs. I can probably work out the bugs seperately, but if any body knows a simple solution to that I would also appreciate it
Terry Terry (cyberbiker)