Hello mgabalins,
Welcome to the Monastery. On the parameter my $fn = ..... c$template.pks is this a predefined parameter (that we can not see in the script) or the actual name of the file is c$template.pks?
I mean you have a file named e.g. my $template = 'file';?
If so you need to change the single quotes '' to "". Sample: my $fn = "D:\DATA\Software\MFLOW2\MOD_CL\INSTALL\MOD_CL\INSTALL\RDBMS\c$template.pks";
Looking forward to your reply.
BR / Thanos
In reply to Re: PERL/Windows file open error
by thanos1983
in thread PERL/Windows file open error
by mgabalins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |