in reply to WinXP not creating files

Perhaps if you actually checked for error returns and printed the error message from $! you might have an idea what went wrong.

open ERROR, '>', "c:/...." or die "error opening: $!\n";

The cake is a lie.
The cake is a lie.
The cake is a lie.