redirecting standard I/O of console app from Parameters
From: Hmmm (forums_at_mail.bg)
Date: 03/30/04
- Next message: Rob Kennedy: "Re: redirecting standard I/O of console app from Parameters"
- Previous message: cyx: "How to find the definition of TFontPropterty?"
- Next in thread: Rob Kennedy: "Re: redirecting standard I/O of console app from Parameters"
- Reply: Rob Kennedy: "Re: redirecting standard I/O of console app from Parameters"
- Reply: Bruce Roberts: "Re: redirecting standard I/O of console app from Parameters"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Mar 2004 09:38:10 -0800
i wrote a console app with delphi 7
in prompt i coul write this
myapp.exe < data.in > result.out
so where there is readln in the code, this will be read from "data.in"
file, and where there is writeln, it will be write to "result.out"
file.
is there way to do this redirection without using prompt (When in
delphi IDE i press F9, standard input to come from data.in and so on).
In Run->Parameters... in Parameters text box i type this: < data.in >
result.out, but it doesnt work
any ideas?
- Next message: Rob Kennedy: "Re: redirecting standard I/O of console app from Parameters"
- Previous message: cyx: "How to find the definition of TFontPropterty?"
- Next in thread: Rob Kennedy: "Re: redirecting standard I/O of console app from Parameters"
- Reply: Rob Kennedy: "Re: redirecting standard I/O of console app from Parameters"
- Reply: Bruce Roberts: "Re: redirecting standard I/O of console app from Parameters"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|