-----Original Message-----
From: Robert E. Bray [mailto:[EMAIL PROTECTED]]> On a Win32 system, creating a UNC share to a file is very simple. But, how would one create the share to just the directory share?> my call to the file is> open (F, '//server_name/share_name/file_name') || die 'failed to open file $!';> I've tried various permutations on this to no avail. Suggestions?Not sure I understand. If you mean "create" the share, use Win32::NetShareAdd. If you just wnat to open it, use ...opendir(DIR,"//server/share") or die("Can't open\n");while($dir=readdir(DIR))
{
print("$dir\n");
}
closedir(DIR);
Title: Message
- UNC Share Robert E. Bray
- Edwards, Mark \(CXO\)