ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Svetlin Stanchev <svet...@acm.org>
Subject Re: xslt task - multiple files output - question
Date Mon, 12 Jan 2004 15:10:04 GMT
Jakob wrote:

>                          Unfortunately, I work on
> Windows, so I can't send the ot file to /dev/null ...

Jakob,

There is a "null" device under Windows, called "nul".
Try this:
______________________________
C:\tmp\nultest>ver

Microsoft Windows 2000 [Version 5.00.2195]

C:\tmp\nultest>dir
  Volume in drive C is sys
  Volume Serial Number is 50B1-A30D

  Directory of C:\tmp\nultest

01/12/2004  04:00p      <DIR>          .
01/12/2004  04:00p      <DIR>          ..
                0 File(s)              0 bytes
                2 Dir(s)   4,895,522,816 bytes free

C:\tmp\nultest>dir >nul

C:\tmp\nultest>dir
  Volume in drive C is sys
  Volume Serial Number is 50B1-A30D

  Directory of C:\tmp\nultest

01/12/2004  04:00p      <DIR>          .
01/12/2004  04:00p      <DIR>          ..
                0 File(s)              0 bytes
                2 Dir(s)   4,895,522,816 bytes free

C:\tmp\nultest>dir >null

C:\tmp\nultest>dir
  Volume in drive C is sys
  Volume Serial Number is 50B1-A30D

  Directory of C:\tmp\nultest

01/12/2004  04:04p      <DIR>          .
01/12/2004  04:04p      <DIR>          ..
01/12/2004  04:04p                 326 null
                1 File(s)            326 bytes
                2 Dir(s)   4,895,522,816 bytes free

C:\tmp\nultest>
______________________________

Rgs,
--
Svetlin



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message