Using Perl to change information contained within a shortcut

Ask a Question related to PERL Beginners, Design and Development.

  1. #1

    Default RE: Using Perl to change information contained within a shortcut

    > -----Original Message-----
    > From: Wagner, David --- Senior Programmer Analyst --- WGO
    > [mailto:David.Wagner@freight.fedex.com]
    > Sent: Friday, February 06, 2004 9:38 AM
    > To: Beginner Perl
    > Subject: Using Perl to change information contained within a shortcut
    >
    >
    [stuff snipped]
    >
    > Is there any Perl module which would read the shortcut/
    > and be able to update the Cmd and Working as viewed under
    > Program when you select properties. I have no code because I
    > am not even where one would start?
    >
    > Any questions and/or problems, please let me know.
    >
    > Thanks.
    >
    > Wags ;)
    > Int: 9-8-002-2224
    > Ext: 408-323-4225x2224
    >
    There is a Win32::Shortcut module as part of libwin.
    Try here: [url]http://search.cpan.org/search?query=Win32::Shortcut&mode=all[/url]
    Toby Stuart Guest

  2. Similar Questions and Discussions

    1. How do i programmatic-ally change the Mouse Up-triggered JavaScript Action of a Submit button in a form contained in hundreds of PDFs?
      Hi Guys! How do i programmatically change the Mouse Up-triggered JavaScript Action of a Submit button in a form contained in hundreds of PDFs? In...
    2. PDF File Information thru PERL
      Hello Group, I am posting this question to both perl and PDF Groups. I would like to get all the information about a PDF file. I dont want to...
    3. [PHP-DEV] Change var_dump to return information
      Hi, I got in mind, that it might be interesting for debug purpose, to obtain information like the output of var_dump() to a string. Really...
    4. WIN32 Shortcut using perl
      Hello Colleagues, I am looking for the solution where i can create a shortcut of the folder/file using WIN32 Shortcut/thr someother means using...
    5. PHP & Perl information sharing
      I'm working on a site which is mostly in PHP. However, I have to use perl for a couple of scripts. Does anyone have any experience in sharing...
  3. #2

    Default RE: Using Perl to change information contained within a shortcut


    > -----Original Message-----
    > From: Wagner, David --- Senior Programmer Analyst --- WGO
    > [mailto:David.Wagner@freight.fedex.com]
    > Sent: Friday, February 06, 2004 10:13 AM
    > To: Toby Stuart
    > Cc: [email]beginners@perl.org[/email]
    > Subject: RE: Using Perl to change information contained within a
    > shortcut
    >
    >
    > Thanks, Toby, but for the most part I have only used
    > ActiveState for loading and I looked at this and this is I
    > believe exactly what I could use. I am unsure if I have to
    > download everything for libwin since the last update was in 2002.
    >
    > Sorry for the denseness of the mind, but when you are
    > used to going to ppm and installing, I am a liitle lost.
    >
    >
    > Any questions and/or problems, please let me know.
    >
    > Thanks.
    >
    > Wags ;)
    > Int: 9-8-002-2224
    > Ext: 408-323-4225x2224
    >
    >
    The good news is you probably already have it installed.
    Run:
    perl -MWin32 -e "print $Win32::VERSION"
    from the command line.

    If that prints greater than 0.191 (mine is 0.20) then you already have it!

    Then see this reference. Should be all you need.
    [url]http://search.cpan.org/src/GSAR/libwin32-0.191/Shortcut/docs/reference.html#[/url]
    General

    Toby Stuart Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139