Re: Make a big file from a batch script

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Pegasus \(MVP\) (I.can_at_fly.com)
Date: 01/24/05


Date: Mon, 24 Jan 2005 11:25:13 +1100


"SFB - KB3MM" <Mickey@MouseHouse.com> wrote in message
news:eLWU9RaAFHA.2584@TK2MSFTNGP09.phx.gbl...
> Interesting. Big file but zero bytes.
>
> "Mike Mimic" <ppagee@yahoo.com> wrote in message
> news:ct117d$5e4$1@planja.arnes.si...
> > Hi!
> >
> > Is it possible to make a big (for example few GB) file
> > from a batch script? On Linux there is a command "dd" which
> > I could use to make a big file with zero bytes:
> >
> > dd if=/dev/zero of=bigfile.bin bs=1 seek=1073741824 count=0
> >
> > Or is there some other way on Windows to make a big file?
> > Content does not matter - only that it creates it.
> >
> >
> > Mike
>

Let's have a look at your script!



Relevant Pages