hey all

  I am trying to use the path combine operation to launch an exec task with
the correct executable.  I was hoping that path combine would correctly
combine for the correct OS   A/B/C for mac and A\B\C for windows.

path::combine( "A", "B" )

correctly gives A/B for mac and A\B for window

but I was hoping that

path::combine ( "A", "B/C") would correctly give A/B/C for mac and A\B\C for
windows.

But it doesnt seem to be the case. I can always combine two folders at a
time but it seems very verbose for large paths.

Is there a good easy way to achieve what I want to do ?

Thanks
Raj
-- 
View this message in context: 
http://www.nabble.com/path-combine-question-for-OS-tp22228208p22228208.html
Sent from the NAnt - Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to