> This is going to drive me nuts.... I have my test snippet below.... > When I run this as shown below, I get the error: Invalid argument.
> open(FILE, "d:\path_to\textfiles\test.txt") or die "Can't open $!"; You need to replace each \ with \\ as a single \ will be interpreted as an escape character. Alternatively, use ' (single quotes) instead of " (double quotes) as single quotes don't interpolate. > When I run it as: > open(File, "../textfiles/test.txt") Are you sure that the starting directory is correct? That the user account your script runs under has access to it? HTH, Fernando Madruga _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs