Re: [Nant-users] file existence task?

2003-03-14 Thread Gert Driesen
Take a look at the available task, that should give you what you need ... Gert - Original Message - From: "Bill Conroy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Hearn, Bruce" <[EMAIL PROTECTED]> Sent: Friday, March 14, 2003 11:52 PM Subject: Re: [Nant-users] file existence task? >

Re: [Nant-users] file existence task?

2003-03-14 Thread Bill Conroy
I just tried to achieve the same thing today...I did this:

[Nant-users] file existence task?

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:\ (