blackadder has asked for the wisdom of the Perl Monks concerning the following question:
And, instead of using net use command, is there something that is Perl native and faster that this command?... I have tried Lanman and NetResource, but they didn't work, when they did work (i.e. no error messages) I did not get a drive letter or an icon representation of the drive in "My Computer". I can't use File::Op because this requires downloading the library, and for which I don't have ftp access and even if I did have ftp access, ppm doesn't work for some reason (no matter how many times I have installed Perl and checked the path) every time I type ppm it chucks an error and with that my beloved message "Perl is not in your path"!?!? So I have to use something that is built into the Perl installation.system 'net.exe use * \\\\server_1212\\d$'; Drive I: is now connected to \\ server_1212\d$. The command completed successfully.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: mapping a network drive
by arthas (Hermit) on Jul 02, 2003 at 12:26 UTC | |
|
Re: mapping a network drive
by fglock (Vicar) on Jul 02, 2003 at 12:26 UTC | |
by arthas (Hermit) on Jul 02, 2003 at 13:14 UTC | |
by blackadder (Hermit) on Jul 02, 2003 at 13:16 UTC | |
by blackadder (Hermit) on Jul 02, 2003 at 13:20 UTC | |
|
Re: mapping a network drive
by fglock (Vicar) on Jul 02, 2003 at 18:12 UTC |