in reply to Strange "There is not enough space on the disk" error (Win32)

Do you get the error if you do perl test.pl > test.out? I wonder how solid is Windows ability to accept commands that aren't .exe, .com or .bat.

What if you do it in a directory other than a root directory? Unlike subdirs, root dirs in a FAT system have a fixed size. When one tries to create too many files in the root directory, one gets an "out of disk space" error.

Does the directory referenced by %TEMP% exist? Is that drive full? How about %TMP%? Is your main drive full? Maybe something is trying to create a temporary file.

Replies are listed 'Best First'.
Re^2: Strange "There is not enough space on the disk" error (Win32)
by bgreenlee (Friar) on Mar 29, 2005 at 07:01 UTC

    I actually didn't run it in root originally; I just removed the directory info when I posted to simplify things. Yes, %TEMP% and %TMP% point to real directories, and there's plenty of disk space (I've tried this on two different machines, btw, same result).

    -b