is there a way to check for the existence of a file or directory on disk?
To elaborate, I use batch scripts a lot and would like to move everything to Nant. In batch, I can do things like this: if exists "c:\somedir\somefile.txt" echo the file exists! or: if exists r:\ ( echo removed existing mapping subst /d r: ) else ( echo mapping will be created from scratch ) subst r: %codeline% I looked at the "if" task but it doesn't seem to have this capability. Has anyone done this kind of stuff? thanks, Bruce ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users