Hi all,

Is there a way to store the parent directory name into a property?

This is what I tried:

 <property name="parent.dir.name" location="./.."/>
 <echo message="The parent directory name is ${parent.dir.name}"/>

... but the result was ...

 "The parent directory name is C:/Parent"

... instead of what I wanted, which is ...

 "The parent directory name is Parent"

Any Suggestions?


Regards,
Daniel


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

Reply via email to