I have an hand coded app called from another hand coded app.
Caller uses createProcessA to call 2nd program.
I print out the command line of the createProcessA prior to calling then 2nd program.
The value for Command(’’) and Command(‘1’) in the 2nd program changes when the program is called from a dos box vs the createprocessA using the same command line.
Say this is the command line
B.exe one two
when called from CreateProcessA
command(’’) returns “{space}B.exe one two”
command(‘1’) returns B.exe
when called from a dos box
command(’’) returns “{space} one two”
command(‘1’) returns one
Any ideas?