Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: accessing another widows machine

by Smaug (Pilgrim)
on Sep 27, 2006 at 11:00 UTC ( [id://575124]=note: print w/replies, xml ) Need Help??


in reply to accessing another widows machine

Maybe your seach was blank because you are trying to access a "widow's" machine?? (Sorry - could not resist)

What are you trying to access? The file system?

Smaug.
<update....>
Short of information I'm assuming you want to access a file share on a Windows machine, from another Windows machine. If that is the case, standard UNC paths should work.
Try:
#!/usr/bin/perl use strict; my $sharename="//servername/directory/";

<update 2...>
I think that Win32::NetResource might help you, but I can't get it installed to check. I'll post something if I get an answer to CPAN Module Compile Error

Good luck!
<Final update...>
Ok, so the Win32 module will not install on Linux (duh!!). Luckily digger has supplied the code you need.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://575124]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-18 00:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found