Even after you succeed running these [by using something like "cmd /c pushd ..." etc] it will be of no use: the commands take effect in the spawned processes and do not affect the current JVM process that is running ANT.
Unfortunately, Java does not support the notion of a changeable current process directory. If you need pushd/popd only to change into another dir and do a quick command or two from there, the "cmd /c pusd ... && <other command>" syntax may do the trick. Vlad. Please respond to "Ant Users List" <[EMAIL PROTECTED]> To: Ant Users List <[EMAIL PROTECTED]> cc: 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]>
