Sorry folks, I guess I could have been more vague if I had tried.
The code: $program = "\\\\serverB\\directory\$\\test1.bat";
system($program, arg1, arg2);
The situation is this: in an NT network I am running a Perl script on server A. From there, I am calling a program on server B, which needs to run on server B. When I run the program from NT Explorer, it writes to local files. When I call it from server A using Perl, it is running in a shell on server A; the program runs, but it doesn't see the 'local' (to the called program on system B) files it needs to write to. So when I run the script, I get "The system cannot find the path specified." messages anytime the called program tries to write to a file. Thanks again.......