Re: How to create file with 0 bytes (length) ?
- From: raster@xxxxxxxxxxxxx
- Date: Tue, 7 Jul 2009 11:24:24 -0700 (PDT)
On Jul 6, 10:50 pm, p...@xxxxxxxxxxxxxxxxxx wrote:
That said, I spent a few minutes playing around at the DOS prompt
and all that seems necessary is to run some command that writes
nothing to STDOUT and redirect to a file. For example:
echo. > tempfile.$$$
del tempfile.$$$ > zerosize.fil
creates a zero length file.
rem > tempfile.$$$
is one easy way; REM doesn't display anything to stdout. Even easier,
using 4DOS, is
tempfile.$$$
i.e. redirect output without executing any command!
--
Charles Dye
.
- Follow-Ups:
- Re: How to create file with 0 bytes (length) ?
- From: Ted Davis
- Re: How to create file with 0 bytes (length) ?
- References:
- Re: How to create file with 0 bytes (length) ?
- From: Benjamin David Lunt
- Re: How to create file with 0 bytes (length) ?
- From: pete
- Re: How to create file with 0 bytes (length) ?
- Prev by Date: Re: How to create file with 0 bytes (length) ?
- Next by Date: Re: How to create file with 0 bytes (length) ?
- Previous by thread: Re: How to create file with 0 bytes (length) ?
- Next by thread: Re: How to create file with 0 bytes (length) ?
- Index(es):
Relevant Pages
|
Loading