my $destDIR = 'Y:/'; opendir( NTDIR, $destDIR ) || die "Unable to access NT upload directory. $!"; closedir(NTDIR);
I'm using the above code to check the access to a network drive. When I run the above code using a windows scheduler I'm randomly getting an error message "Invalid argument at.."
FYI, most of the time the code works and I was not able to find any issue accessing the network drive
Advise if there are any issue or disadvantage in the above code...thanks in advance
In reply to Invalid argument by LNJ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |