Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Perl & Windows Registry

by akm2 (Scribe)
on Mar 26, 2001 at 17:31 UTC ( [id://67183]=perlquestion: print w/replies, xml ) Need Help??

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

I am trying to create Windows Shortcuts uising Perl. By reviewing code designed for IndigoPerl, I found-out you can look through the Registry for system path info.

The module the IndigoPerl uses to read the Registry is, DSUtil. I cannot find this module for ActiveSate Perl. Any help would be great.

Replies are listed 'Best First'.
Re: Perl & Windows Registry
by osfameron (Hermit) on Mar 26, 2001 at 18:43 UTC
    Useful modules (standard with ActivePerl)

    Win32::Shortcut
    Win32::TieRegistry

    NB: Win32::Shortcut doesn't appear to have any POD documentation. I know there is some info in Dave Roth's book on Win32 Perl Programming. For the other, try perldoc Win32::TieRegistry from the command line. (or look at the html docs that come with ActivePerl).

    By the way: do you just want to find the System path? You could probably use $ENV{SYSTEMROOT}

    Hope this helps!
    Osfameron

Re: Perl & Windows Registry
by arturo (Vicar) on Mar 26, 2001 at 18:42 UTC

    CPAN is searchable. If you hit it and type in 'Registry', you're likely to hit Win32::TieRegistry =)

    handing out fishing poles since last week

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-26 00:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found