in reply to Open NT inforserver from NT workstation

You really should have tried a few more times before posting

Why not map the share as a network drive, can be done by using net use from a command line or from inside a Perl script (backticks or system)

Replies are listed 'Best First'.
Re: Re: Open NT inforserver from NT workstation
by Anonymous Monk on Jan 06, 2003 at 15:55 UTC
    How would I use "net use" with what I have?

      Unless you are going to hit that directory heavily and or constantly; I wouldn't. It would mean a little more coding for mapping and verifying errors(especically if you use a scheduler).

      You can use backticks but personally, I like to stay with Perl and the Modules.

      You could look at the NetResource module for dealing with shares.

Re: Re: Open NT inforserver from NT workstation
by Jenda (Abbot) on Jan 06, 2003 at 19:51 UTC

    It would be better to use one of the Win32 modules to do this. That way it'll be easier to handle errors.

    Take a look for example at Win32::FileOp's Map().

    Jenda

Re: Re: Open NT inforserver from NT workstation
by Marza (Vicar) on Jan 06, 2003 at 18:58 UTC
      You really should have tried a few more times before posting

    Why? Isn't this place about helping? What would be the correct times to attempt a solution? 10, 1000?

    At least he kept working at it after the post and later returned to say he corrected it.

    Don't forget as a noob, the obvious is not always that apparent.

    If you are just not seeing the mistake, is it wrong to post "What am I missing?"