Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > How do I set the folder type in Windows Vista?

Thread Tools

How do I set the folder type in Windows Vista?

Posts: n/a
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.

Reply With Quote
Michele Dondi
Posts: n/a
On Mon, 28 May 2007 14:17:57 -0700, Mark Pryor <(E-Mail Removed)>

>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
>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".

{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{pop^pop}->(map substr
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
SOLVED - windows xp rename folder within shared folder, notrefreshing window Computer Information 0 07-30-2008 06:33 PM
Set folder date to date of newest file in the folder? Computer Support 4 08-16-2005 08:09 PM
java.lang.Set with elements of type java.lang.Set Harald Kirsch Java 4 08-31-2004 10:40 AM
Can't copy Outlook Ex files in folder to Windows folder? Paul - xxx Computer Support 2 08-20-2003 03:06 AM