Original Message-
From: John W. Krahn [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 16, 2002 00:49
To: [EMAIL PROTECTED]
Subject: Re: Problems running Win32's "net use" with system()
Francoys Crepeau wrote:
>
> Hi everyone! I hope someone can tell me what I'
Francoys Crepeau wrote:
>
> Hi everyone! I hope someone can tell me what I'm doing wrong.
Hello, I hope so too.
> I'm running ActivePerl 5.6 on an NT4 (service pack 5) box.
>
> One of the things I have to do is to have a Perl script "map" a network
> drive to a drive letter.
>
> When one manu
Maybe system() isn't the right way to go with this. Try using backticks
(`net use * server\\share`) or use the Win32::Lanman modules
NetShareAdd() function. My personal take on system() and backticks is that
they should only be used when absolutely necessary. You can control what
Perl doe