> From: Matt Benson [mailto:[EMAIL PROTECTED]
> > I AM LOST HERE NOW: The exec line by itself works
> > but how do I get the
> > result of the date.exe back into here? With Args?
> >
> > <target name="timedate">
> > <exec executable="C:/cygwin/bin/date.exe `+%a %D
> > %r`" />
> > <arg line="/c dir"/>
> > </exec>
> 
> to do this, you would use the outputproperty attribute
> of <exec>.  However, you might want to take a look at
> the tstamp task to avoid the dependency on cygwin
> and/or the Unix version if you, in theory, went
> cross-platform.  Especially considering that, IIRC,
> the cygwin version has features not in the (some?)
> pure Unix versions.

I'd second Matt. It's unlikely <tstamp> cannot format
a date the way you want, better and faster than date.exe,
and in a cross platform manner.

Lookup the doc. If you can't sort it out, post again
with the date issue, but I bet we'll figure it out. --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to