If you only want to create an empty file for use as an image with DiskImage, you can as well use a simple Rexx program like this:
/* rexx */
size = 10 * 1024 * 1024 /* size in bytes (10 mb) */
file = "ram:hdf" /* file name (will be overwritten if it exists */
buffsize = 32768
buffer = left("",buffsize,'00'x)
if Open(out,file,write) then do
do while (size >= buffsize)
call WriteCh(out,buffer)
size = size - buffsize
end
if size > 0 then
call WriteCh(out,left(buffer,size))
call Close(out)
end
Bye,
Thomas