Passthru and UNC path 
Author Message
 Passthru and UNC path

I am trying to use passthru and a UNC path.  It complains that it
cannot find the directory.

i.e. passthru("perl //somewhere/somedir/test.pl 2>&1");

Any ideas?

Thanks in advance,



Mon, 21 Nov 2005 20:50:56 GMT  
 Passthru and UNC path

Quote:

> I am trying to use passthru and a UNC path.  It complains that it
> cannot find the directory.

> i.e. passthru("perl //somewhere/somedir/test.pl 2>&1");

...

What is "passthru"?  A function exported from some module?  If so,
please let us know which module.

I note that if you use "system", the above seems to work on Windoze 98SE
at least.  Note that the syntax would be like:

   system("perl //computername/sharename/dirname/filename.pl");

when using UNC path stuff.
--
Bob Walton



Tue, 22 Nov 2005 04:25:01 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. NT mkdir and UNC Paths

2. Perl calling pkzip UNC path problem

3. UNC path problem with Perl on Win32

4. UNC-Path under windows NT ?

5. UNC drive\path\file for NT Cgi/Perl script

6. Win32 UNC path names

7. UNC-Path (Win32) not working in @INC or $ENV{PERLLIB}

8. chdir and UNC path

9. stat on UNC root path

10. accessing files across UNC paths

11. Win32 UNC path question

12. Win32 UNC path names

 

 
Powered by phpBB® Forum Software