Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: How do you Map & Disconnect Network Drives (in Windows)?

by perlofwisdom (Pilgrim)
on Mar 26, 2008 at 15:02 UTC ( [id://676419]=note: print w/replies, xml ) Need Help??


in reply to Re: How do you Map & Disconnect Network Drives (in Windows)?
in thread How do you Map & Disconnect Network Drives (in Windows)?

I've dropped the unnecessary quotes as you suggested. I have a really stupid question though: where do these constants derive their values? I wanted to see what their values were, so I printed them out, and got this:
key DisplayType=3 key Scope=3 key Type=1 key Usage=2
I had a look at the FileOp module, and it looks like it would do just what I need. Unfortunately, it takes an act of congress to deploy a module that isn't part of the standard install around here -- so I'll get the paperwork started. By the way didn't you write FileOp?

Replies are listed 'Best First'.
Re^3: How do you Map & Disconnect Network Drives (in Windows)?
by Jenda (Abbot) on Mar 26, 2008 at 21:48 UTC

    Yes, I did write Win32::FileOp :-)

    The constants are defined within Win32::NetResource. They are defined in the XS (C with some Perl-specific macros) part of the module. And originaly they are defined by Microsoft somewhere in their C header files.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://676419]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-19 07:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found