The only time I’ve ever found an issue is when specifying UNC paths (windows network paths)  \\machine.domain\c$\Windows\...

 

I prefer the ‘/’ separator, since it allows your scripts to be more platform independent.  Running Nant scripts on *nix cause errors when using ‘\’.

 

Stephen Tunney, MCAD.NET


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bryan D. Andrews
Sent: March 28, 2006 3:23 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Traversing Directories

 

Does it matter if I use ..\.. or ../.. to nant for traversing directories and web paths? I ask because we have some nant scripts that have these mixed and it *seems* to work both ways.

 

Advice appreciated.

 

Reply via email to