-
February 8th, 2011, 11:08 AM
#1
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
-
February 8th, 2011, 01:39 PM
#2
Re: I/O redirecting in windows shell
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
February 8th, 2011, 01:40 PM
#3
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?
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
February 9th, 2011, 03:10 AM
#4
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
-
February 9th, 2011, 09:13 AM
#5
Re: I/O redirecting in windows shell
Unless the app is written to accept that, you cannot change it after it's been compiled.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
February 10th, 2011, 05:17 AM
#6
Re: I/O redirecting in windows shell
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|