|I'm having the following issue: I have this C program, which is basically allowing a user to select a character string amongst a whole series. So, in the C program, I have this one character variable that holds a given value. No problem.|
Thing is : I have this executable file (EXE) which I next am going to call from different Windows batch programs (CMD). Obviously, the selected value inside the executable file, is what I am interested in, and I would like to subsequently, use that value inside my CMD file. So, I would like to store and use it there as a normal variable, like any other CMD program variable.
I know one way of doing that, but that would not be a very clean way. So, my question is : what is the cleanest way to do that ?
If not sure what I'm asking, I'll be happy to explain more or better. Thanks
edit: I was trying something like this, but that doesn't work:
message edited by tvc