How do I set the folder type in Windows Vista?

Discussion in 'Perl Misc' started by Bozzz, May 28, 2007.

  1. Bozzz

    Bozzz Guest

    I know how to use Perl to change a folder's attributes, but can Perl
    set the folder type, (All Items, Documents, Pictures and Videos, etc.)
    found under a folder's Properties/Customize tab for a single folder or
    a group of folders in Windows Vista? After extensive search, I think
    the answer is no. Please prove me wrong.
     
    Bozzz, May 28, 2007
    #1
    1. Advertising

  2. On Mon, 28 May 2007 14:17:57 -0700, Mark Pryor <>
    wrote:

    >Custom folder properties should be supported in WMI (don't ask me where)
    >and WMI can be accessed via Win32::OLE.
    >
    >there is a sample WMI/Perl script here
    >http://www.techiegroups.com/showthread.php?t=48703
    >
    >the Perl Core modules are endlessly powerful and are only limited by your
    >knowledge -- limited in this case by your familiarity with WMI.


    But W::O is not a *core* module. Anyway I second your claim both with
    and without "core".


    Michele
    --
    {$_=pack'B8'x25,unpack'A8'x32,$a^=sub{pop^pop}->(map substr
    (($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
    ..'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
    256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,
     
    Michele Dondi, May 28, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Gallagher, Tim (NE)
    Replies:
    1
    Views:
    352
    Adam Jones
    Aug 21, 2006
  2. Jon Turlington
    Replies:
    12
    Views:
    555
    Stefan Schmiedl
    Feb 6, 2007
  3. Jon Turlington
    Replies:
    5
    Views:
    320
    Alfred
    Feb 6, 2007
  4. Roedy Green

    Vista and SET

    Roedy Green, Mar 12, 2007, in forum: Java
    Replies:
    1
    Views:
    293
    Luc The Perverse
    Mar 12, 2007
  5. Michael
    Replies:
    5
    Views:
    934
    Bjoern Schliessmann
    Nov 3, 2007
Loading...

Share This Page