Hi, Thanx for the info. The dir parameter worked. One more question from me... How do u add multiple set of class files in different folders into a jar file? For example I need to add the files in the following folders to a jar file c:\work\classes & c:\work\support\supportclasses how will I be able to do this ? Rev ----- Original Message ----- From: Jon Skeet <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 13, 2001 1:50 PM Subject: RE: Changing Directories > Does anybody know how do u execute 'cd' command in ANT ? > i.e I need to change to a different directory before > actually executing a 'java' command. How can i do this ? Use the dir parameter in the Java task, but make sure you fork as well. Jon
----------------------------------------------------------------------------------------------------------------------- Information transmitted by this E-MAIL is proprietary to Wipro Limited and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please notify us immediately at mailto:[EMAIL PROTECTED] and delete this mail from your records. ------------------------------------------------------------------------------------------------------------------------