You can use File::HomeDir to find your home direcory.It is in the ppm repository.use strict; chdir "c:/Users/Admin"; my $fname = "output.txt"; #open OUTPUT, ">$fname" or die "$fname: $!\n"; is more common but you +will miss the message when run by scheduler unless(open(OUTPUT,">$fname")) { exit } print OUTPUT "This worked\n"; close OUTPUT;
In reply to Re: Vista Task Scheduler
by walto
in thread Vista Task Scheduler
by drblove27
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |