On Thu, Dec 4, 2008 at 9:20 AM, Graeme Geldenhuys
<[EMAIL PROTECTED]> wrote:
>
> Anybody know how I can store the output of a program into a variable
> in windows batch files? I'm trying to capture the following output
> like I have done in the unix shell script.
>   fpctarget=`fpc -iTP`-`fpc -iTO`

A bit of google searching and some experimentation, I managed to solve
this problem. fpGUI revision 1052 has the improved build.bat file. :-)


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to