Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

hello all

any suggestion about how to access to the properties of a remote folder (not shared) in w2k?

thanks in advance

anony

Replies are listed 'Best First'.
Re: win32 access to remote directory
by fglock (Vicar) on Oct 31, 2002 at 16:15 UTC

    Do you mean not mounted? I think you can't access a folder that is not shared.

Re: win32 access to remote directory
by Jenda (Abbot) on Oct 31, 2002 at 20:21 UTC

    If you are an admin (or connect to the computer as a domain or local admin) you could use the admin shares:
     \\Server\c$ == C:\ on the Server.

    You should be able to query the properties as if it was a local folder then.

    To connect as a different user you might use Win32::FileOp::Connect().

    Jenda