It does neither - it uses the Java API.
Conor
(non-HTML email please).
-----Original Message-----
From: Shankar Unni [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 10 July 2001 4:05 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Accessing a directory on Unix
Nico Seessle [mailto:[EMAIL PROTECTED]] writes:
> What do you expect to happen? "mkdir //1.2.3.4/a/b/c" is an
> invalid command on Windows NT.
It's an invalid command *if you execute it inside CMD.EXE*. It's perfectly
legal if you do it at the API level, or if you use it in a shell that
doesn't go way out of its way to explicitly disallow "/" in path names (e.g.
bash, tcsh, etc.)
How does ant implement mkdir? Does it call the native APIs, or does it do
this by spawning a shell?
--
Shankar.