in reply to Failed to create a file

I don't have Windows, so this is untested:);
#!perl use strict; use warnings; open STDOUT, '>', 'C:\\TEMP\\cfg' or die "Failed to create cfg"; print "Does this work?\n"; close STDOUT;

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.