I/O redirecting in windows shell
Hi,
I want to redirect a file to my application. in this file are my command line arguments.
I want to do something like this:
"dir < arguments.txt"
content of my arguments.txt is in this example just "/D"
in my opinion executing the command "dir < arguments.txt" should be equal to "dir /D"
but it's not. why?
thanks
juergen
Re: I/O redirecting in windows shell
Re: I/O redirecting in windows shell
Sorry, but you're not being completely clear. Are you saying you want to make your application accept parameters?
In what language are you writing this?
Re: I/O redirecting in windows shell
I use a compiled exe program. I want to give that program command line parameters from a file.
But it doesn't work. I can't even get the simple DOS command "dir" to accept command line arguments from file.
how can I do this?
thanks
juergen
Re: I/O redirecting in windows shell
Unless the app is written to accept that, you cannot change it after it's been compiled.
Re: I/O redirecting in windows shell