CREATEFIL.EXE: Creating Simulated Files

The WindowsNT 4.0 Workstation Resource Kit CD includes CreateFile, a utility to create zero-filled files of a size you specify.

The CreateFile utility is installed when you do a typical installation or do a custom installation of Performance Tools.  It is in \\ RESKIT\PerfTool\Probe\creatfil.exe.  It must be run from the Command Prompt Window; it cannot be run from the Run command on the Start button.

At the command prompt, type:  creatfil filename [filesize]

where

filename is the name of the file it will create

filesize is the size of the file it will create, in units of 1024 bytes.  The filesize is optional.   The default is 1024 bytes.

For example, to create a 100K file called workfile.dat, type:
c:\ RESKIT\PERFTOOL\PROBE> creatfil workfile.dat 100

Creatfile produces a 102,400 byte file of zeros called workfile.dat.