Diane is correct. It would look something like:

<target name="pushpop">
   <exec executable="cmd /c">
       <arg line="pushd \\${server}\${testdir}">
   </exec>
   <exec executable="cmd /c">
       <arg line="popd">
   </exec>
</target>



-----Original Message-----
From: Diane Holt [mailto:[EMAIL PROTECTED]]
Sent: 11 December, 2001 03:59 PM
To: Ant Users List
Subject: Re: pushd and popd


--- Anthony Rodriguez <[EMAIL PROTECTED]> wrote:
> Has anyone had any luck using the Win 2000 programs, pushd and popd? 

Most likely they're built-ins rather than executables, so you'd need to
exec DOS's command shell, with pushd/popd as args to it.

Diane

=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

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

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

Reply via email to