in reply to RE: Re: Perl and Shared drive
in thread Perl and Shared drive

I tried this too.suppose my servername is nj7001pdcpublic, there is directory SAPTreasTeam. then there is subdorectory under SAPTreasTeam called swift. how would you access this in perl.

Replies are listed 'Best First'.
RE: RE: RE: Re: Perl and Shared drive
by Fastolfe (Vicar) on Nov 07, 2000 at 02:22 UTC
    I'm assuming that by "directory" you mean "share". Try this:
    open(F, '//nj7001/pdcpublic/saptreasteam/swift') or die $!; # or open(F, '\\\\nj7001\pdcpublic\saptreasteam\swift') or die $!;
    If you're still having trouble accessing files with paths like this, perhaps you can take advantage of some Win32 modules to help you?